Speaker Verification

פרמיום
על ידי PresentID | מְעוּדכָּן לפני 6 ימים | Artificial Intelligence/Machine Learning
פּוֹפּוּלָרִיוּת

9.1 / 10

חֶבִיוֹן

3,495ms

רמת שירות

97%

Health Check

N/A

חזרה לכל הדיונים

Getting 452 - Upload Image File error

Rapid account: Notgud 2 Bdown
notgud2bdown
un mese fa

statusCode:452
statusMessage:“Upload Image File”
hasError:true
data:null

I am getting 452 status code when trying to upload audio file as base64.
When trying same audio file through voice file (from website) it works and when trying with base64 for the same files (tried generating online as well as through my Swift iOS code) both fails with this error.
I am not able to figure out what am I doing wrong.

Rapid account: Karanpareek 96
karanpareek96 Commented 13 giorni fa

Hi, I am getting the same error. Here is my code:

def wav_to_base64(audio_file):
with open(audio_file, “rb”) as file:
wav_data = file.read()
base64_wav = base64.b64encode(wav_data)
return base64_wav

payload = {
“sound1Base64”: f"{wav_to_base64(A)}",
“sound2Base64”: f"{wav_to_base64(B)}",
}

Rapid account: Notgud 2 Bdown
notgud2bdown Commented 23 giorni fa

Thanks for the response, adding drive link : https://drive.google.com/drive/folders/1ujFHZSr3m1zz3YY_As5fz0TqBkznJEI0?usp=sharing
Kindly let me know whats the issue in base64, even if uploaded via direct Endpoints

Rapid account: Present ID
PresentID Commented un mese fa

I mean base64 file. Then we can solve the problem.we do this in swift

Rapid account: Present ID
PresentID Commented un mese fa

Hi,Thanks to reach out to us. Could you please send us the sample audio that you get error on that?

הצטרף לדיון - הוסף תגובה למטה:

התחבר / הירשם כדי לפרסם תגובות חדשות