Sending data from ESP32 to local flask server fails: "send payload failed (-3)"

Hello everyone,

I'm working on an ESP32 IoT projecT where I'm using an I2S microphone to capture audio and send it to a local Flask server for processing. However, I'm encountering an issue / ERROR where the audio is not being properly uploaded to the server.

Issue Details:( im using a local flask server to process data) it shows (POST /upload HTTP/1.1" 400 -)

arduino IDE serial monitor is showing such output:

button Pressed! Waiting for voice...
:studio_microphone: Voice Detected! Recording...
:studio_microphone: Recording...
:white_check_mark: Recording saved!
:outbox_tray: Uploading Audio...
:outbox_tray: Sending 38912 bytes
:cross_mark: Upload Failed! HTTP Error: send payload failed (-3)

please help if anyone knows about this.

Please don't hijack forum topics @anjalipatil1122. I have split your post out to its own topic.

Hijacking is against the Arduino forum rules. The reason is that it may sidetrack the discussion, even preventing the creator of the topic from getting the assistance they need. It also reduces your own chances of getting assistance.

This is basic forum etiquette, as explained in the "How to get the best out of this forum" guide. It contains a lot of other useful information. Please read it.

Thanks in advance for your cooperation.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.