Question 290
A Business Central developer must validate a correction for this condition: A partner endpoint intermittently returns HTTP 429 and the AL code retries immediately in a tight loop. Which acceptance result best demonstrates that the issue was resolved?
Explanation
Correct Answer
A synthetic 429 sequence completes under controlled retries or returns a safe error. would provide case-specific evidence of a successful correction. Aggressive retries can amplify throttling instead of restoring service. The corresponding action is Apply bounded backoff and retry-budget handling appropriate to the partner's rate-limit contract.
Incorrect Answers
This option serves the scenario “A REST integration times out after an external order was created, and the retry would create a duplicate”. Therefore verify: A lost-response test creates one external order and one local reference. The present scenario is distinguished by “A synthetic 429 sequence completes under controlled retries or returns a safe error”.
That result would validate work on a service response includes malformed JSON and the AL job continues with default empty values. It does not confirm this case's intended outcome: A synthetic 429 sequence completes under controlled retries or returns a safe error.
The proposed evidence belongs to a returned JSON number exceeds the Decimal range expected by a receiving AL field. For the reported condition, the developer should first apply bounded backoff and retry-budget handling appropriate to the partner's rate-limit contract.