Skip to content

Errors

Error Response Structure

json
{
  "timestamp": "2024-06-15",
  "message": "001 - importer_countries size limit exceeded! (Max size: 10)",
  "code": "001"
}

HTTP Status Codes

CodeMeaningWhen
200OKRequest processed successfully
400Bad RequestMalformed request syntax
401UnauthorizedMissing or invalid X-API-KEY / X-SIGNATURE
403ForbiddenAuthenticated but not permitted for this action
404Not FoundBusiness rule violation or resource not found
500Internal Server ErrorUnexpected server-side error

Business Error Codes

Business rule violations return HTTP 404 with the error response structure above.

CodeNameDescription
001SIZE_LIMITA set field exceeds the maximum of 10 items
002NOT_NULLA required field is null
003MUST_PARAMETERAt least one filter parameter is required
004NOT_PARAMETER_CANNOT_USE_ALONENOT operator cannot be used without a positive parameter
005MIN_CHARACTERSField value must be at least 2 characters
006UNEXPECTED_PARAMETERParameter not allowed for this request or account
007DATA_NOT_FOUNDThe requested resource was not found
008UNAUTHORIZED_USERNot authorized to query on behalf of the specified user
009MIN_3_CHARACTERSField value must be at least 3 characters
010EXPORTER_COUNTRY_PARAMETERexporter_countries requires at least one additional parameter
011NOT_AUTHORIZED_PARAMETERParameter not permitted for this account
012HS_CODE_LIMIT_EXCEEDEDHS code search count exceeds the assigned account limit
013UNAUTHORIZED_HS_CODE_LENGTHHS code digit length not permitted for this account
014CREDIT_LIMIT_EXCEEDEDAPI usage credit limit has been reached
015MINUTELY_REQUEST_LIMIT_EXCEEDEDPer-minute request rate limit exceeded
016DAILY_REQUEST_LIMIT_EXCEEDEDDaily request quota exceeded
017HS_CODE_CHARS_NUMERICHS code must contain only numeric characters
018COUNTRY_CHARS_ALPHABETICCountry code must contain only alphabetic characters
019ACCOUNT_EXPIREDAccount subscription has expired
020ACCOUNT_NOT_ACTIVE_UNTILAccount is not yet active

Nexus Backend API Dokümantasyonu