Skip to content

Rejection Codes

In addition to the service's error codes, there are also rejection codes that are returned if the requested consumer or company is not active. These codes apply to both consumers and companies.

Example response (200 OK):

{
  "error": {
    "code": "S3",
    "text": "Spärrad",
    "detail": "2025-03-24, Utsatt för bedrägeri"
  }
}

Rejection Codes for Consumers and Sole Traders

Response CodeCodeTextDetail
200 OKS2SkyddadSkyddad person.
200 OKS3Spärradyyyy-mm-dd, Utsatt för bedrägeri
200 OKS4Avlidenyyyy-mm-dd
200 OKS5Tekniskt avregistrerad-
200 OKS6Utvandradyyyy-mm-dd
200 OKS7Personnummerbyte-

Partial Data with Consumer Rejection Codes

It's possible to receive information on consumers and sole traders despite the rejection codes S2 and/or S6, depending on your GetData block settings:

  • S2 (Protected consumers): The response will contain all available information except name and address
  • S6 (Emigrated consumers): The response will contain the last known information

When your block is configured to allow these statuses, you will receive an HTTP 200 OK response with both the error object (containing the rejection code) and a report object (containing available data). If the block does not allow these statuses, the response will contain only metaData and error without a report.

Rejection Codes for Companies

Response CodeCodeText/Description
200 OKS200Inaktivt
200 OKS231Likvidation avslutad
200 OKS241Fusion avslutad
200 OKS291Konkurs avslutad
200 OKS292Konkurs avslutad med överskott
200 OKS300Avregistrerat
200 OKS336Bolaget avfört enl 13:18 aktiebolagslagen
200 OKS337Bolaget avfört
200 OKS350Avfört enligt 17 kap 2 st handelsregisterlagen
200 OKS351Avfört enligt 11 kap 18 § lag om ek. föreningar
200 OKS353Avregistrerat p.g.a. ny innehavare
200 OKS354Avfört p.g.a. fusion med utländskt företag
200 OKS360Avfört p.g.a. utländskt företags likvidation/konkurs
200 OKS361Avfört, verksamheten har upphört
200 OKS362Avfört, filialen saknar verkställande direktör
200 OKS363Avfört, enligt domstolsbeslut
200 OKS364Avfört, årsredovisning saknas
200 OKS370Bolaget avfört på eget begäran
200 OKS371Bolaget avfört av Bolagsverket
200 OKS373Avfört
200 OKS374Avfört, omregistrerat till bankaktiebolag
200 OKS377Avregistrat p.g.a. ombildning
200 OKS391Upplöst genom delning

Partial Data with Company Rejection Codes

All company rejection codes return HTTP 200 OK responses. The rejection status is communicated through the error.code and error.text fields in the response body.

Whether you receive a report alongside the error depends on your GetData block settings:

  • If the status is allowed on your block: You will receive both error (containing the rejection code and status details) and report (containing available company data)
  • If the status is not allowed on your block: You will receive only metaData and error without a report

Clients should check for the presence of the error object even on HTTP 200 responses, and inspect whether report is present to determine if partial data is available.


RE99: Real Estate Data Unavailable

The RE99 code indicates that real estate (fastighet) data could not be retrieved from an external service. Unlike other rejection codes, RE99 can return under different HTTP status codes depending on whether other data sections were successfully retrieved.

HTTP 200 OK with Partial Report

In standard format requests (legacyformat=false or omitted), when the real estate service fails but other block sections are successfully retrieved, the API returns HTTP 200 OK with a partial success response:

  • The response includes both an error object (containing RE99) and a report object
  • Real estate sections in the report will be empty or cleared
  • All other requested sections remain populated with available data

Example partial success response:

{
  "metaData": {
    "apiLogId": 547635,
    "timeStamp": "2026-07-21T09:15:00",
    "resource": "GetData (1217)",
    "method": "GET",
    "requestUrl": "https://se-webservice.apps.creditsafe.com/getdata?blockname=COMPANY_BLOCK&searchnumber=5565144408",
    "lodCreated": false
  },
  "error": {
    "code": "RE99",
    "text": "Kan inte hämta fastighetsdata"
  },
  "report": {
    "basicInformation": {
      "organizationNumber": "5565144408",
      "companyName": "Example AB"
    },
    "financialData": {
      /* populated with available data */
    },
    "realEstate": {
      /* empty or cleared due to service failure */
    }
  }
}

HTTP 503 Service Unavailable

If the real estate failure prevents building any report data at all, the API returns HTTP 503 with only metaData and error (no report). See the Error Codes page for details.

Legacy Format Behavior

When legacyformat=true, real estate failures return HTTP 500 with error code 14 (internal error) instead of RE99. This maintains backward compatibility with the old SOAP service behavior.

Handling RE99

For standard format requests: Always check the HTTP status code first. If HTTP 200, inspect whether a report is present alongside the error. Process the available data sections and handle the real estate data gap gracefully in your application.

For legacy format requests: Real estate failures will appear as HTTP 500 with code 14, not as RE99.