Error Messages Returned by the Contract Workspace Retrieval API

If a submitted API query for getting or searching for contracts fails, the response body contains one or more of the following error codes.

HTTP Code

Message

Description

400

The API key passed in the request is not valid.

The API key passed in the query headers does not match the API key in the OAuth token.

Bad Request

The required feature is not enabled.

Applicable endpoints:
  • GET /contractworkspaces

  • GET /contractworkspaces/$id

401

Unauthorized

Invalid filter expression.

Applicable endpoints:

  • GET /contractworkspaces

  • GET /contractworkspaces/$id

403

Forbidden

Contract data is missing in the request.

Applicable endpoints:

  • GET /contractworkspaces

  • GET /contractworkspaces/$id

404

Not Found

Request has one or more invalid contracts.

Applicable endpoints:

  • GET /contractworkspaces

  • GET /contractworkspaces/$id

429

Rate limit error

You have exceeded the maximum permitted query rate. Refer to the developer portal discovery page for this API for the applicable query rates.

504

Gateway Time-out

The server timeout time has been exceeded, possibly due to network traffic or reliability issues. Retry your query.