Skip to content
Last updated

Error Codes

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.

Language-Specific Errors

Error messages are returned in the language specified by the language parameter (en or sv).


Error Response Format

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": 547655,
    "timeStamp": "2026-07-21T09:22:00",
    "resource": "GetSignatory (1227)",
    "method": "GET",
    "requestUrl": "https://se-webservice.apps.creditsafe.com/getsignatory?searchnumber=9999999999"
  },
  "error": {
    "code": "15",
    "text": "No match record"
  }
}

HTTP 400 - Bad Request

CodeTextDetail
R1The language must be either en (default) or sv (swedish)
15No match record / Ingen träffThe searchnumber cannot be null or empty / Söknumret får inte saknas eller vara tomt
Missing or Empty Search Number

Error code 15 under HTTP 400 specifically indicates that the searchnumber parameter was missing or empty in the request. This is different from the same error code under HTTP 404, which indicates no company was found for a valid search number.


HTTP 403 - Forbidden

Authentication and Authorization Errors

CodeTextDetail
R2Token får inte saknas eller vara tom
R3Sluttiden för token är ogiltig
R4Token har gått ut
R5Token är ogiltig
R6Ogiltig token-utgivare

Access and Service Errors

CodeTextDetail
7Ej tillgång till tjänstenDitt kundkonto har inte tjänsten GetSignatory (1227)
7Ej tillgång till tjänstenAnvändaren har inte tjänsten GetSignatory (1227)
7Ej tillgång till tjänstenIngen åtkomst för kontot eller användaren till tjänsten GetSignatory (1227)
8Rapporter/poäng slutInga kvarvarande rapporter för kontot eller användaren till tjänsten GetSignatory (1227)
17Ej tillgång till denna företagstypEj tillgång till denna företagstyp – AB
17Ej tillgång till denna företagstypEj tillgång till denna företagstyp – HB/KB
17Ej tillgång till denna företagstypEj tillgång till denna företagstyp – EF
17Ej tillgång till denna företagstypEj tillgång till denna företagstyp – Others
Status Variation

Depending on integration path, codes 7 and 17 may be returned as either 403 or 404.


HTTP 404 - Not Found

CodeTextDetail
15Ingen träffIngen träff
No Company Found

Error code 15 under HTTP 404 indicates that no company was found for the supplied organization number, or no signatory data exists for the company. This is different from HTTP 400 / code 15, which indicates the search number parameter was missing or empty.


HTTP 500 - Internal Server Error

CodeTextDetail
14Ett fel har inträffat, försök igen senare
Server Error

A 500 Internal Server Error indicates an unexpected issue on the Creditsafe server. If this error persists, contact Creditsafe support at integration@creditsafe.se with the apiLogId from the response metadata.


HTTP 504 - Gateway Timeout

If a report request takes more than 30 seconds, a 504 Gateway Timeout response will be returned.

Server Timeout

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 request that timed out (search number, timestamp, and any transaction IDs).