Learning about REST APIs > Error handling |  | next

# Error handling

If an error occurs during a REST API operation, a 4`xx` (client-side) or 5`xx` (appliance) error is returned along with an error message (`ErrorMessage` resource model). The error message contains a description and might contain recommended actions to correct the error.

A successful REST API `POST` operation returns the newly created resource (synchronous) or a `TaskResource` URI in the Location header (asynchronous).

prev | up | next
Task resource | home | Error message format

Copyright © 2013-2016 Hewlett Packard Enterprise Development LP