HTTP and HTTPS error codes

nRF93M1 Cellular AT Commands

The HTTP and HTTPS commands return %HTTP ERROR: <err> when an error occurs.

The error codes and their descriptions are the following:

<err>
Integer. Error code.
0 – Operation successful.
1 – Parameter error.
2 – Input timeout.
3 – URL is not set.
4 – Operation not supported.
5 – No GET/POST requests.
6 – Request processing.
7 – Filename too long.
8 – File not found.
9 – Memory not enough.
10 – SSL configuration error.
11 – URL parse error.
12 – DNS resolution failed.
13 – Protocol error.
14 – Socket error.
15 – PDP context bind failed.
16 – Socket connect timeout.
17 – Socket connect error.
18 – Socket connect close.
19 – SSL error.
21 – Internal error.
22 – URL format error.
100 – Data receive complete.

The HTTP and HTTPS server response codes are the following:

<httprspcode>
Integer. HTTP response code.
200 – OK.
400 – Bad request.
403 – Forbidden.
404 – Not found.
405 – Method not allowed.
409 – Conflict.
411 – Length required.
500 – Internal server error.