Share via


OData endpoint Http status codes

 

Applies To: Dynamics CRM 2015

Http status codes returned by the REST endpoint are described in the following table. The status codes follow RFC 2616 Hypertext Transfer Protocol -- HTTP/1.1.

Status Code

Text

Cause

200

OK

The request is served.

400

Bad Request

The request could not be parsed successfully because of a syntactically or semantically incorrect URI.

401

Unauthorized

Authentication is required and has not been provided.

403

Forbidden

User does not have privileges to access the entity

404

Record Not Found

The record does not exist for the given query.
OR
The length of the URI exceeds the maximum allowed length for the browser. For Internet Explorer7 & 8 this is 2,048 characters.

405

Method Not Allowed

A request cannot be used for this record.

406

Not Acceptable

The requested format specified in the accept header cannot be satisfied for the entity/entity container/entity set.

413

Request Entity Too Large

The request attempts to set too much data, or the requested range contains too many rows, returned data is too big.

500

Internal Server Error

Internal Error

503

Service Unavailable

Service Unavailable

See Also

Use the OData endpoint with Ajax and JScript web resources
Use the OData endpoint with web resources
Perform basic data operations using the OData endpoint
Sample: Create, retrieve, update, and delete using the OData endpoint with JavaScript

© 2016 Microsoft. All rights reserved. Copyright