Skip to content

Error Codes

Rejection Codes vs Error Codes

This page documents general error codes. For person and company register status codes (S2, S6, S200-S391, etc.), see the Rejection Codes page.

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

In this documentation we describe the Swedish texts, as most customers request reports in Swedish.


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": 547632,
    "timeStamp": "2026-07-21T09:13:01",
    "resource": "GetData (1217)",
    "method": "GET",
    "requestUrl": "https://se-webservice.apps.creditsafe.com/getdata?blockname=COMPANYX&searchnumber=5569565855",
    "lodCreated": false
  },
  "error": {
    "code": "15",
    "text": "Ingen träff"
  }
}

HTTP 400 - Bad Request

CodeTextDetail
R1Språket måste vara antingen en (default) eller sv (svenska)
11Fel blockBlockName finns inte på kundkontot

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
Token Issues

For token-related errors (R2-R6), refer to the Authenticate API documentation for guidance on obtaining and refreshing tokens.


Access Denial Errors

CodeTextDetail
7Ej tillgång till tjänstenDitt kundkonto har inte tjänsten GetData (1217)
7Ej tillgång till tjänstenAnvändaren har inte tjänsten GetData (1217)
7Ej tillgång till tjänstenIngen åtkomst för kontot eller användaren till tjänsten GetData (1217)
7Ej tillgång till tjänstenIngen tillgång till tjänsten för att skapa omfrågekopior

Quota Exhaustion Errors

CodeTextDetail
8Rapporter/poäng slutInga kvarvarande rapporter för kontot eller användaren till tjänsten GetData (1217)
8Rapporter/poäng slutInga återstående förbetalda omfrågekopior

Company Type Access Errors

CodeTextDetail
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

HTTP 404 - Not Found

CodeTextDetail
15Ingen träffSöknumret får inte saknas eller vara tomt

HTTP 503 - Service Unavailable

CodeTextDetail
RE99Kan inte hämta fastighetsdata

RE99: Real Estate Data Unavailable

The RE99 error code indicates that real estate (fastighet) data could not be retrieved.

  • HTTP 503 response: When the real estate failure prevents building any report data
  • HTTP 200 with partial report: In standard format requests (legacyformat=false or omitted), RE99 may also return as HTTP 200 with both error and a partial report when other block sections are successfully retrieved
Partial Success with RE99

For detailed information about RE99 returning as HTTP 200 with partial data, see the Rejection Codes page.

Note: When legacyformat=true, real estate failures return HTTP 500 with error code 14 instead of RE99, maintaining backward compatibility with the old SOAP service.


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 (block type, search number, and timestamp).


Common Error Resolution Steps

  1. Authentication Errors (R2-R6)
    • Verify your token is valid and not expired
    • Obtain a new token from the Authenticate API
    • Ensure the token is included in the Authorization header
  2. Access Errors (Code 7 or 17)
    • Confirm your account has the correct GetData service and company-type access
    • Contact integration@creditsafe.se for service access issues
  3. Request/Format Errors
    • Verify language, blockName, and searchnumber values are valid