Ubidots Community

ESP32 +IPD,309:HTTP/1.1 400 Bad Request

I am new for ESP32,I am trying connect to server,after AT+CIPSEND=280 it gets bad request like as
+IPD,309:HTTP/1.1 400 Bad Request

Server: nginx/1.16.1

Date: Sat, 05 Jun 2021 10:24:02 GMT

Content-Type: text/html

Content-Length: 157

Connection: close

regards,
Naren

Hello @narendar

Thanks for sharing your issue with the community.

Now, a 400 error means that either the endpoint or body is malformed and so not compatible with the Ubidots’ API. In that sense, can you please share the code lines where you connect to the server and build the payload? It’s likely that the error might be in any of those lines.

Best,
–Sergio.