I’m using TimeXtender REST Data Source v10.2.0.0 with two endpoints:
-
A static endpoint that returns a list of IDs.
-
A dynamic endpoint that retrieves additional data for those IDs.
The problem is that not all IDs from the first endpoint exist in the second. When the dynamic endpoint tries a ‘non-existent ID’, the API returns a 500 server error, stopping the data transfer.
This is an external API, so I have no control over it. From what I can see, the datasource provider doesn’t offer error handling (like try/catch or “skip if failed”).
I could create a curated list of valid IDs, but there are thousands of IDs that can change at any time, making this impractical. I could also ask the API provider to return empty JSONs instead of errors, but I’d prefer to handle it on my side.
Any advice?