Errors are returned as RFC 9457 application/problem+json
documents (except 401, see below). Every API-specific type is a stable URI of the form
https://developer.idealo.io/insights-api/problem/<suffix> that points to its documentation page,
linked in the table below. Every response — success or error — carries an X-Request-Id header;
quote it when contacting idealo support.
This contract is identical for every endpoint in this API.
| Status | type (suffix of https://developer.idealo.io/insights-api/problem/) |
Cause |
|---|---|---|
|
(none — |
Malformed query parameter, e.g. a non-positive |
|
(no body) |
Bearer token missing or invalid. Spring Security’s default resource-server behavior — the only response in this API without a JSON body. |
|
The shop identified by |
|
|
(none — |
Credential valid but wrong shop ( |
|
No report data exists for the shop yet, e.g. a recently onboarded shop before its first processing run. Retryable after the next processing cycle. |
|
|
The requested report’s source data has not been ingested yet. Retryable once ingestion completes. |
|
|
The report data exceeds the maximum data age guarantee. The |
Problem fields
| Path | Type | Optional | Description |
|---|---|---|---|
|
|
No |
Stable identifier of the problem type (RFC 9457). |
|
|
No |
Short, human-readable summary of the problem. |
|
|
No |
The HTTP status code. |
400 responses additionally carry the invalid parameter(s):
| Path | Type | Optional | Description |
|---|---|---|---|
|
|
No |
Stable identifier of the problem type (RFC 9457). |
|
|
No |
Short, human-readable summary of the problem. |
|
|
No |
The HTTP status code. |
|
|
No |
The invalid parameter(s). |
|
|
No |
Name of the invalid parameter. |
|
|
No |
Why the parameter value was rejected. |
Examples
400 Bad Request
HTTP/1.1 400 Bad Request
X-Request-Id: 4bf92f3577b34da6a3ce929d0e0e4736
Content-Type: application/problem+json
{"fieldErrors":[{"field":"limit","message":"must be null or positive"}],"status":400,"title":"Bad Request","type":"about:blank"}
401 Unauthorized
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer error="invalid_token", error_description="An error occurred while attempting to decode the Jwt: The aud claim is not valid", error_uri="https://tools.ietf.org/html/rfc6750#section-3.1", resource_metadata="https://insights.idealo.com/.well-known/oauth-protected-resource"