Why Did the Connector Skip a Window of Data?
Question
Why do I see the warning "Coupa skipped windows of data due to errors" for my Coupa connection?
Environment
Connector: Coupa
Answer
We request data from Coupa in time windows based on the updated_at value of each record. If Coupa returns a timeout (HTTP 504) or a server error (HTTP 500), we retry with smaller windows and smaller page sizes.
Some Coupa instances keep failing even for the smallest window. This can happen with a timeout error for the DATA_FILE_SOURCE, INTEGRATION_RUN, and PURCHASE_ORDER_REVISION tables, and with a server error for the EASY_FORM_RESPONSE table. When this happens, we skip that window so the sync can continue with the rest of your data. Other errors still fail the sync.
The warning lists each skipped window, the affected tables, and the Coupa response. We don't sync records that were updated in a skipped window. This includes the tables that depend on the endpoint, such as EASY_FORM_WIDGET_DATA.
If Coupa keeps failing while we capture deletes for one of these tables, we don't capture deletes for that table in that sync. We don't mark any records as deleted, and we try again in a later sync.
To load the skipped records:
- Ask Coupa support to fix the issue that causes the failure for the windows listed in the warning.
- Re-sync the affected tables. A table re-sync loads all records of the table again, including the records in the skipped windows.
If Coupa still fails for a window during the re-sync, we skip that window again and show the warning again.