Allegro: the label is retried after a 504 error
Kiero OMS retries a Wysyłam z Allegro label download after a temporary HTTP 504 without creating another shipment.
Allegro: the label is retried after a 504 error
What changed?
When downloading a Wysyłam z Allegro label, Kiero OMS can retry the request after a temporary HTTP 504. The retry uses the already-created shipment and keeps its ID and label parameters.
Benefit
A short provider timeout no longer necessarily means starting the whole process again. One operation can recover the label file without creating another shipment or print job.
How to use it
Generate the label as before. If the provider returns 504, Kiero OMS performs a limited number of retries with short pauses. After success, you receive one file ready for printing.
Important limitations
The retry applies only to HTTP 504 during label download. Other errors and exhausted retries keep their previous behavior. Automatic printing through Print Agent after such an error still needs post-deployment verification.