71
14 IoT Core HTTP status codes
The http status code only shows whether the IoT Core command request was correct, not whether the execution of
the service was successful.
Code
Text
Description
200
OK
The service could be process correctly
400
Bad request: <Reason>
The service request is invalid or malformed
401
Access denied: <Address>
Authentication is required and has failed or has not been
provided.
403
Forbidden: <Reason>
The service request is forbidden
404
Element not found: <Address>
The requested service does not exist
413
Request payload too large
The payload of the request is too large
414
Request-URL too long
The URL of the request is too large
422
Invalid payload. Invalid <Parameter>: <Value>
The provided data/payload is invalid
423
The service is busy
The service is locked, disabled or busy at the moment
424
Failed dependency: <Reason>
The service is currently not allowed. Example:
Failed dependency: first call <Service>
429
Too many requests
Too many requests
500
(1)
Internal error
An error condition, that is not considered and handled by
IoTCore and therefore raised by the underlying runtime
501
Not implemented
The service is not implemented
502
Remote service failed with code <Code>: <Msg> A request to the remote device failed with an error.
503
(1)
Not available: <Reason>
The service is not available
504
Remote service timeout
The remote device did not respond within the timeout.
507
Insufficient storage
The memory / storage of the device is insufficient
901
Already exists
The element already exists
902
Wrong chunk size
The chunk size is invalid / too big.
(1)
Detailed device error codes need to be read by service
Read diagnostics from the IO channel