An error consists of an error code and a message, the messages is not always that obvious. Therefore we’ve listed some of the common errors here and a longer description of why the error occurs.
Error codes
Code | Message | Description |
1000003 | System exception | Something went wrong on our end, please contact us. |
1000030 | Invalid response type | The provided response type(Accept) was invalid. |
1000031 | Invalid content type | The provided content type was invalid. |
2000106 | Värdet måste vara alfanumeriskt ({Value}) | The value needs to be alphanumeric. |
2000108 | Värdet måste vara numeriskt ({Value}) | The value needs to be numeric. |
2000134 | Värdet måste vara en boolean ({Value}) | The value needs to be boolean |
2000310 | Ogiltig inloggning | The Client-Secret or the Access-Token is either missing or is incorrect. |
2000311 | Kan inte logga in, access-token eller client-secret saknas(2). | The Client-Secret or the Access-Token is either missing or is incorrect. |
2000359 | Värdet innehåller ej tillåtna tecken. ({Value}) | The value contains invalid characters. |
2000588 | Ogiltig parameter i anropet. | A parameter is invalid. Read more about parameters. |
2000637 | Kundnummer 1 används redan. Kundnumret har redan använts men blivit raderat. | Customer number 1 is/has already been used. |
2000729 | A valid identifier was not provided. | A valid identifier was not provided. |
2001103 | Api-licens saknas. | The requested Fortnox account does not have a license to use the API |
2001392 | Ingen eller felaktig typ av data. | The request body was empty or contained incorrect data. |
2001740 | Inläsning av dokument misslyckades: {Message} | The XML object contained an error. |
2002115 | Error deserializing JSON: JSON_ERROR_SYNTAX | The JSON object contained an error. |
2001304 | Kunde inte hitta konto | Could not find Account |
2001399 | Felaktigt fältnamn | Invalid Field name |
2001101 | Det finns ingen aktiv licens för önskat scope | There is no active licens for the desired scope. |
2000663 | Har inte behörighet för scope | No access to the current scope. |
2003095 | Det saknas ett förvalt konto för Inköp SE, omvänd skattskyldighet | Account is missing for Purchase SE reversed tax liability |
2000755 | Leverantörsfakturan balanserar inte | Supplier invoice does not balance |
2003115 | Momsrader för momstyp REVERSE måste vara märkta med motsvarande CODE | Tax Rows for VAT type REVERSE must be marked with CODE |
2003124 | Enbart ordrar som levererats ut kan klarmarkeras | |
2003125 | Ett klarmarkerat dokument kan inte ändras | |
2003126 | Utleveransdatum kan inte vara senare än dagens datum | |
2003241 | Migrering är redan påbörjad eller avslutad | |
2003275 | Ej autentiserad | |
2003277 | Hittades inte i lagermodulen | |
2003399 | Dokumentet är makulerat i lagermodulen | |
2003127 | Ett fel uppstod i lagermodulen | |
2000204, 2000433 | Kunde inte hämta/hitta kund (kundnummer) | The customer in the request is not available in the customer resource. |
2001302 | Kunde inte hitta artikel | Could not find article used in request |
2000428 | Kan inte hitta artikeln |
Error cases during Oauth2 authorization flow
Missing integration license for customer: | error=error_missing_license
error_description=Resource owner is not licensed for the requested scope |
Missing app license (buyable app) for customer: | error=error_missing_app_license
error_description=Resource owner does not have enough licenses. |
Trying to exchange an authorization code towards /auth instead of /token: | HTTP 403 Forbidden:
The server understood the request, but is refusing to fulfill it. No more information will be given. |