Common HTTP error codes returned by the Connect API and their meaning.
ConcurrentModification are returned across all APIs. API-specific errors, are only returned for a specific set of endpoints and update actions.Representations
ErrorResponse
Base representation of an error response containing common fields to all errors.
statusCodeInt | HTTP status code corresponding to the error. |
messageString | First error message in the errors array. |
errorsArray of ErrorObject | Errors returned for a request. A single error response can contain multiple errors if the errors are related to the same HTTP status code such as 400. |
{
"statusCode": 400,
"message": "First error message.",
"errors": [
{
"code": "InvalidJsonInput",
"message": "First error message.",
"detailedErrorMessage": ""
},
{
"code": "InvalidJsonInput",
"message": "Second error message.",
"detailedErrorMessage": ""
}
]
}ErrorObject
codeString | Error identifier. |
messageString | Plain text description of the cause of the error. |
//Any string parameter matching this regular expression | Error-specific additional fields. |
General errors
400 Bad Request
400:InvalidJsonInput
Returned when an invalid JSON input has been sent. Either the JSON is syntactically incorrect or does not conform to the expected shape (for example is missing a required field).
The client application should validate the input according to the constraints described in the error message before sending the request.
codeString | "InvalidJsonInput" |
messageString | "Request body does not contain valid JSON." |
detailedErrorMessageString | Further explanation about why the JSON is invalid. |
InvalidQueryParam
Returned when an invalid query parameter has been sent.
codeString | "InvalidQueryParam" |
messageString | "Request query param is not valid" |
detailedErrorMessageString | Further explanation about why the query parameter is invalid. |
InvalidPathParam
Returned when an invalid path parameter has been sent.
codeString | "InvalidPathParam" |
messageString | "Request path param is not valid" |
detailedErrorMessageString | Further explanation about why the path parameter is invalid. |
DuplicateField
Returned when a field value conflicts with an existing value causing a duplicate.
codeString | "DuplicateField" |
messageString | "A duplicate value $duplicateValue exists for field $field." |
fieldString | Name of the conflicting field. |
duplicateValueAny | Conflicting duplicate value. |
FieldValueNotFound
Returned when a value for a field is not found.
codeString | "FieldValueNotFound" |
messageString | "The value $value for the $field field was not found" |
fieldString | Name of the field. |
valueAny | Conflicting value. |
GitRepositoryNotReachableError
Returned when the GitHub repository is unreachable or not found.
codeString | "GitRepositoryNotReachable" |
messageString | "Repository with the tag is not reachable" |
403 Forbidden
Returned when the client does not have sufficient permissions for this operation.
codeString | "AuthorizationError" |
messageString | "Access denied" |
404 Not Found
404:ResourceNotFound
Returned when the resource addressed by the request URL does not exist.
codeString | "ResourceNotFound" |
messageString | "Deployment with id=$resourceId or key=$resourceKey does not exist" |
409 Conflict
409:ConcurrentModification
Returned when the request conflicts with the current state of the involved resources. Typically, the request attempts to modify a resource that is out of date (that is modified by another client since it was last retrieved). The client application should resolve the conflict (with or without involving the end user) before retrying the request.
codeString | "ConcurrentModification" |
messageString | "Object id=$resourceId or key=$resourceKey has a different version than expected. Expected: $expectedVersion - Actual: $currentVersion)" |
expectedVersionInt | Expected version of the resource. |
currentVersionInt | Current version of the resource. |
500 Internal Server Error
500:General
Returned when a server-side problem occurs before or after data persistence. In some cases, the requested action may successfully complete after the error is returned. Therefore, it is recommended to verify the status of the requested resource after receiving a 500 error.
codeString | "General" |
messageString | Description about any known details of the problem, for example, "Write operations are temporarily unavailable". |
502 Bad Gateway
502:BadGateway
Returned when a server-side problem is caused by scaling infrastructure resources.
The client application should retry the request with exponential backoff up to a point where further delay is unacceptable.
codeString | "BadGateway" |
messageString | Plain text description of the error. |
API-specific errors
Connectors
400 Bad Request
ConnectorAlreadyCertified
Returned when trying to certify a Connector that is already certified.
codeString | "ConnectorAlreadyCertified" |
messageString | "The ConnectorStaged is already certified" |
ConnectorReferenceNotFoundError
Returned when the referenced Connector was not found.
codeString | "ConnectorReferenceNotFound" |
messageString | "Connector '$identifier' with version $version not found" |
ConnectorSpecificationFileNotFoundError
Returned when the Connector specification file was not found.
codeString | "ConnectorSpecificationFileNotFound" |
messageString | "The file connect.yaml at $url with the tag $tag was not found" |
ConnectorSpecificationFileNotValidError
Returned when the Connector specification file is not valid.
codeString | "ConnectorSpecificationFileNotValid" |
messageString | "The file connect.yaml at $url with the tag $tag is not valid" |
ConnectorStagedInCertification
Returned when trying to publish a Connector that requires certification but is already in the certification process.
codeString | "ConnectorStagedInCertification" |
messageString | "The ConnectorStaged is already in certification" |
ConnectorStagedNotPreviewable
Returned when a ConnectorStaged to be deployed is not previewable.
codeString | "ConnectorStagedNotPreviewable" |
messageString | "Connector id=$resourceId or key=$resourceKey with version $version is not previewable" |
ConnectorStagedNotPrivate
privateProjects of a non-private ConnectorStaged.codeString | "ConnectorStagedNotPrivate" |
messageString | "The operation is not valid because ConnectorStaged with id=$resourceId or key=$resourceKey is not private" |
ConnectorStagedPreviewRequestUnderProcess
Returned when attempting to request previewable status of a ConnectorStaged that is currently being reviewed for previewable status.
codeString | "ConnectorStagedPreviewRequestUnderProcess" |
messageString | "The ConnectorStaged preview request is already in progress" |
Deployments
400 Bad Request
DeploymentUnsupportedRegion
Returned when the Deployment region is not supported.
codeString | "DeploymentUnsupportedRegion" |
messageString | "Deployment unsupported region $region" |
DeploymentUnknownApplicationConfiguration
Returned when the Deployment contains configuration values that are not defined in the Connect application's connect.yaml file.
codeString | "DeploymentUnknownApplicationConfiguration" |
messageString | "Deployment does not require configuration for application named '$unknownApplicationName'." |
DeploymentUnknownApplicationConfigurationKey
Returned when the Deployment contains a configuration key that is not defined in the Connect application's connect.yaml file.
codeString | "DeploymentUnknownApplicationConfigurationKey" |
messageString | "Deployment does not require (secret|standard) configuration with key $configurationKey for application named $applicationName." |
DeploymentInvalidStatusTransition
Returned when the Deployment operation results in a invalid status transition.
Already queued, Already deploying, or Already undeploying based on the DeploymentStatus of the Deployment.codeString | "DeploymentInvalidStatusTransition" |
messageString | "Invalid status change: Already deploying" |
DeploymentMissingGlobalConfigurationKey
Returned when a required global configuration key is missing.
codeString | "DeploymentMissingGlobalConfigurationKey" |
messageString | "Deployment global configuration requires (secret|standard) with key $configurationKey." |
DeploymentUnknownGlobalConfigurationKey
Returned when attempting to provide a nonexistent global configuration.
codeString | "DeploymentUnknownGlobalConfigurationKey" |
messageString | "Deployment global configuration does not require (secret|standard) with key $configurationKey." |
DeploymentEmptyRequiredGlobalConfigurationKey
Returned when a required global configuration key has an empty value.
codeString | "DeploymentEmptyRequiredGlobalConfigurationKey" |
messageString | "Deployment requires a non empty value for (secret|standard) global configuration with key $configurationKey." |
422 Unprocessable Content
DeploymentApplicationDoNotBelong
Returned when attempting to add an application that does not belong to the Deployment.
codeString | "DeploymentApplicationDoNotBelong" |
messageString | "Deployment with id=$resourceId or key=$resourceKey does not include application: $applicationName" |
DeploymentApplicationRequired
Returned when a Deployment does not contain any applications.
codeString | "DeploymentApplicationRequired" |
messageString | "A Deployment requires at least one application" |
DeploymentConnectorUpdateFailure
codeString | "DeploymentConnectorUpdateFailure" |
messageString | "Deployment with id=$resourceId or key=$resourceKey failed while trying to update Connector id=$resourceId or key=$resourceKey (cause: $cause)" |
DeploymentProductionDeactivated
codeString | "DeploymentProductionDeactivated" |
messageString | "Deployments to production are disabled for this Project. Please contact support to enable production deployments." |
DeploymentInvalidType
codeString | "DeploymentInvalidType" |
messageString | "The Connector id=$resourceId or key=$resourceKey cannot be deployed as a '(preview|sandbox|production)' type. Only '(preview|sandbox|production)' types are allowed." |