Errors & troubleshooting
Application errors use HTTP status plus a JSON error object:
{"error":{"code":"account_unavailable","message":"Account is inactive or expired."}}Use code for application logic. Messages describe the failure and may vary by context.
Error catalog
Section titled “Error catalog”| HTTP | Code | What to do |
|---|---|---|
| 401 | missing_api_key |
Add the full key to X-API-Key. |
| 401 | invalid_api_key |
Check the key or ask your Echora contact for an active key. |
| 403 | account_unavailable |
Check account activation and expiry with your Echora contact. |
| 403 | source_not_subscribed |
The requested keyword source has no slot allowance. |
| 403 | keyword_outside_quota |
This slot no longer fits the current source quota. |
| 403 | access_changed |
Access changed during the data request. Recheck account/keyword/key eligibility. |
| 404 | keyword_not_found |
Use a slot/path belonging to your account, with the right source and eligibility. |
| 404 | account_not_found |
The account was not found during the operation; contact Echora. |
| 409 | keyword_quota_exceeded |
All source slots are filled. Edit/delete an appropriate keyword or adjust your subscription. |
| 409 | duplicate_keyword |
This keyword is already configured on the account/source. |
| 409 | monthly_change_limit_reached |
Wait for the next month or ask for a higher maximum. |
| 400 | invalid_cursor |
Start a fresh data request without a cursor. |
| 422 | invalid_keyword |
Check length and the documented AND expression syntax. |
| 422 | invalid_hashtag |
Use one Instagram hashtag without spaces/additional # symbols. |
| 422 | source_is_fixed |
A slot’s source cannot change. Extra PATCH body fields are also rejected by validation. |
| 422 | invalid_period |
Check start <= end. Each date must fall within 1970-01-01 through 2106-02-07 in Asia/Jakarta. |
| 422 | validation_error |
Check body, path and query types/ranges using error.fields. |
| 503 | service_unavailable |
Temporary account-service failure; retry GET with a bounded backoff. |
| 503 | data_unavailable |
Temporary query/source-data failure; retry GET with a bounded backoff or start a fresh query if it persists. |
For media-specific invalid_media, media_access_expired, media_not_found and invalid_range, see media URLs.
Validation detail
Section titled “Validation detail”{ "error": { "code": "validation_error", "message": "Invalid request parameters.", "fields": [ {"field":"query.limit","message":"Input should be less than or equal to 1000"} ] }}Locations such as query.limit, path.slot_id or body.keyword identify the field to correct. Do not expect retrying the same invalid request to fix it.
Retry behavior
Section titled “Retry behavior”Use a timeout and bounded backoff for transient GET failures. Do not loop on 400/401/403/404/409/422. If POST/PATCH/DELETE times out, read the current keywords and account usage first: a mutation may already have been applied. The API does not promise a client idempotency-key contract.
Common questions
Section titled “Common questions”Why is data empty with HTTP 200? No stored data matches that eligible keyword and period. Check the configured keyword or phrase, WIB dates and source coverage. Ineligible paths return 404 instead.
Why does create after delete cost a change? A cleared slot retains its first-use history. Free input applies once in the slot’s lifetime.
Why does changing a date not change the next page? The cursor restores the original context. Start a new request without it to change filters.
Why does a keyword appear in the list but fail on Get data? Check its source_key, path, is_active and within_quota, as well as account status.
Why does account/info also fail for an expired account? It is an authenticated endpoint that requires eligibility. Your Echora contact can inspect/renew the account.
When requesting support, include the time and timezone, method, endpoint without tokens, source, relevant slot/path, HTTP status and error code. Do not share full API keys or tokenized URLs in public channels.