You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bird maintains an API endpoint for DC data in https://gbfs.bird.co/dc, which is listed on DDOT's dockless API page. Unfortunately, this API endpoint suffers from intermittent CORS errors, which makes it difficult to work with. So far I've noticed a pattern with the first request of the day experiencing a CORS error, but anecdotally in the past, I've seen the error at various points in the day.
Here's a CORS error for the first hit of the day at 8:31 UTC:
No CORS error for the second hit of the day after refreshing at 8:32 UTC:
I could still potentially add this API to this project, but it would require more robust investments in error handling and UX. There's also the risk that the CORS error could eventually turn into an intentional permanent decision and not stay an intermittent error.
The text was updated successfully, but these errors were encountered:
Bird maintains an API endpoint for DC data in https://gbfs.bird.co/dc, which is listed on DDOT's dockless API page. Unfortunately, this API endpoint suffers from intermittent CORS errors, which makes it difficult to work with. So far I've noticed a pattern with the first request of the day experiencing a CORS error, but anecdotally in the past, I've seen the error at various points in the day.
Here's a CORS error for the first hit of the day at 8:31 UTC:
No CORS error for the second hit of the day after refreshing at 8:32 UTC:
I could still potentially add this API to this project, but it would require more robust investments in error handling and UX. There's also the risk that the CORS error could eventually turn into an intentional permanent decision and not stay an intermittent error.
The text was updated successfully, but these errors were encountered: