This response indicates that request lacks valid authentication credentials. Access token might not been provided, issued by the wrong issuer, does not have required scopes or request headers were malformed.
{
"error": {
"code": "HeaderNotFound",
"message": "Header Authorization was not found in the request. Access denied."
}
}
This response indicates that the specified iModel or project was not found.
{
"error": {
"code": "iModelNotFound",
"message": "Requested iModel is not available."
}
}
The 422 (Unprocessable Entity) status code indicates that the request cannot be processed by the server due to a client error (e.g. malformed request syntax)
{
"error": {
"code": "InvalidClashDetectionRequest",
"message": "Invalid clash detection request.",
"details": [{
"code": "InvalidRequestBody",
"message": "Required property 'projectId' is missing in the request body.",
"target": "projectId"
},
{
"code": "InvalidRequestBody",
"message": "Requested project ID is not valid."
},
{
"code": "InvalidRequestBody",
"message": "The request is invalid."
},
{
"code": "InvalidRequestBody",
"message": "Request body was not provided."
},
{
"code": "InvalidRequestBody",
"message": "The request body is not a valid JSON object."
}
]
}
}
This response indicates that the user has sent too many requests in a given amount of time.
{
"error": {
"code": "TooManyRequests",
"message": "More requests were received than the subscription rate-limit allows."
}
}