Scheduled Retry of Failed Uploads
When a Transaction Data Upload to the Central Platform fails — for example, due to a temporary network outage, an expired access token, or a non-2xx HTTP response — the staging record is set to status Error. The error is captured on the record (Reason Phrase, HTTP Status Code, Error Message).
Failed uploads can be retried in two ways:
- Manually, by opening the Transaction Data Staging page, selecting the failed line, and choosing Retry Send Data. See Transaction Data Staging.
- Automatically, by scheduling the Schedule Upload Mgt codeunit as a recurring job in the Job Queue.
Set up the scheduled retry job
- Click the
icon, enter Job Queue Entries, and select the relevant link. - Choose New to create a new Job Queue Entry and fill in the fields:
Field Value Object Type to Run Codeunit Object ID to Run 10067299 (LSCAU Schedule Upload Mgt.) Description Retry failed PLB transaction uploads Recurring Job Enabled Run on Mondays…Sundays Enable all days for continuous coverage Starting Time / Ending Time Cover the trading hours of the store No. of Minutes between Runs Recommended: 5 to 15 minutes - Set the job to Ready to start the recurring schedule.
What the job does
Each time the job runs:
- It selects every Transaction Data Upload Header with status Error.
- For each record, it requests a new authentication token from the Central Platform using the credentials in PLB Setup.
- It re-sends the transaction JSON payload to the Central Platform API.
- On a successful response, the status changes to Submitted. On failure, the status remains Error and the error details are updated.
For the meaning of each upload status, see the status table in Transaction Data Staging.
Monitoring
- Use Transaction Data Staging to view records by status and inspect the error details for any record that remains in Error after the scheduled retry.
- Records that fail repeatedly may indicate a credentials issue (Authentication URL, Client ID/Secret, Resource) or a Central Platform service incident. Verify the connection via the Test connection button on the PLB Setup page.
See also
CDC Transaction Data to the Central Platform