This page lists DAM REST API error details for image operations.
For cross-API status code guidance, see Error responses.
The DAM REST API uses standard HTTP status codes to indicate whether a request succeeded or failed.
When an operation fails, first check:
- The
X-API-KEYheader - Path and query parameter values
- Whether the target image exists
- Whether the image is currently being processed
Most error responses use a JSON problem-details structure.
Example:
{
"type": "https://api2.saleslayer.com/errors/validation",
"title": "Bad Request",
"status": 400,
"detail": "The request is invalid.",
"instance": "/image/123"
}The OpenAPI specification defines a ProblemDetails schema with these fields:
typetitlestatusdetailinstance
The request is syntactically valid HTTP, but the API cannot process it because one or more values are invalid.
Common causes:
- Invalid
$filtersyntax - Unsupported field in
$orderby - Invalid pagination values such as
$topor$skip - Invalid API key
- Invalid image identifier
- Invalid request
The request does not include a valid API key.
Typical causes:
- Missing
X-API-KEYheader - Empty API key value
- Invalid API key
Example:
X-API-KEY: YOUR_API_KEYThe requested image does not exist or cannot be found for the current tenant.
This can happen when:
- The image identifier is wrong
- The image has already been deleted
- The image does not belong to the current tenant context
The operation cannot be completed because the image is currently being processed.
In the DAM API this status is relevant for:
DELETE /image/{id}
This usually means the image is temporarily locked by an active processing workflow. Retry later.
The server encountered an unexpected error while processing the request.
Typical causes include:
- Network connectivity issues
- Storage service unavailable
- Database errors
A 500 response usually indicates a temporary or server-side problem rather than a client-side validation issue.
| Endpoint | Possible error codes |
|---|---|
GET /image | 400, 401 |
DELETE /image/{id} | 400, 401, 404, 409, 500 |
Before retrying a failed request, verify:
- The
X-API-KEYheader is present and valid - The endpoint path is correct
- The image
idis valid when usingDELETE - Query parameters are supported and correctly formatted