Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions markdownpages/profit/en/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
author: CLN
date: 2025-11-08
date: 2026-08-13
tags: Tutorial, GetConnector, UpdateConnector, AppConnector, Integration, Authentication
title: Troubleshooting
---
Expand Down Expand Up @@ -85,7 +85,8 @@ When an HTTP 503 error occurs, a response body can be sent along with it. This r
## Timeout

Timeouts rarely occur in AFAS APIs. Most timeout messages come from the client application. This means that the request is still being processed at the AFAS server at that moment. Make sure your timeout is carefully configured and use a back-off strategy when you encounter a timeout. The AFAS server is probably still processing your previous request.
The AFAS API uses a timeout of 900 seconds (15 minutes). After this time, the API will return an Error 500 with message "De maximale tijdsduur voor het uitvoeren van de opdracht is verstreken." or "The maximum duration for performing the assignment has been exceeded.".
The AFAS API uses a timeout of 900 seconds (15 minutes). After this time, the API will return an Error 500 with message "Command timeout expired.".
If it takes too long or you are unsure whether the request is still being processed, wait at least 15 minutes before retrying. If you do not, the previous request may still be processing. Re-executing the request can then overload the database. This has a negative effect on database performance and can lead to timeouts for other requests, as well as slower performance of Profit itself.

## Connection errors

Expand Down
5 changes: 3 additions & 2 deletions markdownpages/profit/nl/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
author: CLN
date: 2025-11-08
date: 2026-08-13
tags: GetConnector, UpdateConnector, AppConnector, Integration, Authentication, Hr
title: Fouten verhelpen
---
Expand Down Expand Up @@ -84,7 +84,8 @@ Bij een HTTP 503 error kan er een response body worden meegestuurd. Deze respons
## Timeout

Time-outs komen zelden voor in AFAS API`s. De meeste time-out melden komen uit de client applicatie. Dit betekent dat de request op dat moment op de AFAS Server nog verwerkt wordt. Zorg dat je time-out zorgvuldig geconfigureerd is en gebruik een back-off strategie wanneer je een time-out tegenkomt. De AFAS server is vermoedelijk je vorige request nog aan het verwerken.
De AFAS API heeft een time-out van 900 seconden (15 minuten). Na verstrijken van deze tijd geeft de API een foutcode 500 met melding "De maximale tijdsduur voor het uitvoeren van de opdracht is verstreken." of "The maximum duration for performing the assignment has been exceeded.".
De AFAS API heeft een time-out van 900 seconden (15 minuten). Na verstrijken van deze tijd geeft de API een foutcode 500 met melding "Command timeout expired.".
Duurt het je te lang of twijfel je of de request nog verwerkt wordt? Wacht dan in elk geval de 15 minuten af voordat je een retry doet. Doe je dit niet, dan kan het zijn dat de vorige request nog verwerkt wordt. Opnieuw uitvoeren van de request kan dan leiden tot overbelasting van de database. Dat heeft een negatief effect op de performance van de database en kan leiden tot time-outs bij andere requests, maar ook tot vertraagde werking van Profit zelf.

## Verbindingsfouten

Expand Down
Loading