If there is something wrong, an error will be returned. Depending on the language parameter provided in the request, the error will be delivered in English or Swedish.
Error messages are returned in the language specified by the language parameter in your request (either en for English or sv for Swedish).
All error responses include metaData and error only. Null fields are omitted from the JSON response. The detail field within error is optional and may be omitted when no additional context is available.
Example response (404 NotFound):
{
"metaData": {
"apiLogId": 547631,
"timeStamp": "2026-07-21T09:12:41",
"resource": "Company Search (1225)",
"method": "GET",
"requestUrl": "https://se-webservice.apps.creditsafe.com/search/company?namesearchnumber=test"
},
"error": {
"code": "15",
"text": "No match record"
}
}| Code | Text | Detail |
|---|---|---|
| R1 | The language must be either en (default) or sv (swedish) | Invalid language parameter |
| 195 | Sidstorleken utanför giltigt område | Page size out of valid range (e.g., 100>50) |
| 196 | Startpositionen utanför giltigt område | Start position out of valid range (<=0 or >100) |
| 201 | Sökmotorn kunde inte processa händelsen | Search engine processing error |
| Code | Text | Detail |
|---|---|---|
| R2 | Token får inte saknas eller vara tom | Token is missing or empty |
| R3 | Sluttiden för token är ogiltig | Token expiration time is invalid |
| R4 | Token har gått ut | Token has expired |
| R5 | Token är ogiltig | Token is invalid |
| R6 | Ogiltig token-utgivare | Invalid token issuer |
| Code | Text | Detail |
|---|---|---|
| 7 | Ej tillgång till tjänsten | No access to service (account or user level) |
| 8 | Rapporter/poäng slut | No remaining reports for account or user |
| Code | Text | Detail |
|---|---|---|
| 15 | Ingen träff | No results found (search returned no matches) |
- Authentication Errors (R2-R6)
- Verify token validity and expiry
- Request a new token from Authenticate when needed
- Input Validation Errors (400)
- Verify
language, pagination values, and search criteria - Access and Quota Errors (7, 8)
- Confirm service access and available report balance for account/user
If a search request takes more than 30 seconds, a 504 Gateway Timeout response will be returned.
A 504 Gateway Timeout is most likely a server environment issue at Creditsafe. Please report this kind of issue to Creditsafe support at integration@creditsafe.se including details on the search that timed out (search criteria, timestamp, and search type).