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

400

(none — about:blank)

Malformed query parameter, e.g. a non-positive limit.

401

(no body)

Bearer token missing or invalid. Spring Security’s default resource-server behavior — the only response in this API without a JSON body.

402

no-active-contract

The shop identified by shopId has no active idealo Insights contract.

403

(none — about:blank)

Credential valid but wrong shop (shop_id claim doesn’t match the path) or missing the INSIGHTSAPI:READ_REPORTS scope.

404

report-data-not-found

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.

409

report-data-not-ready

The requested report’s source data has not been ingested yet. Retryable once ingestion completes.

503

report-data-stale

The report data exceeds the maximum data age guarantee. The Retry-After header (seconds) carries the violated threshold; retryable after that interval.

Problem fields

Path Type Optional Description

type

String

No

Stable identifier of the problem type (RFC 9457).

title

String

No

Short, human-readable summary of the problem.

status

Number

No

The HTTP status code.

400 responses additionally carry the invalid parameter(s):

Path Type Optional Description

type

String

No

Stable identifier of the problem type (RFC 9457).

title

String

No

Short, human-readable summary of the problem.

status

Number

No

The HTTP status code.

fieldErrors

Array

No

The invalid parameter(s).

fieldErrors[].field

String

No

Name of the invalid parameter.

fieldErrors[].message

String

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"

403 Forbidden

HTTP/1.1 403 Forbidden
X-Request-Id: 4bf92f3577b34da6a3ce929d0e0e4736
Content-Type: application/problem+json

{"status":403,"title":"Forbidden","type":"about:blank"}

Examples for 402, 404, 409 and 503 are on the page of the respective problem type.


Table of contents