The API request that is giving me troubles is
https://dev.virtualearth.net/REST/v1/Routes/Truck?key=X
We send with points in JSON format.
WPF App
Enterprise / Windows Application Keys
From time to time our customers are getting "Unauthorized" or "TimeoutOccurred" responses from Bing when we send off points to be routed with the above uri.
These errors are not consistent, a user could send off requests all day long and be ok, until it fails randomly. If it does fail, after some amount of time the request will go through successfully again. The data that we send with the request doesn't change, they just can wait for a bit, try again and it works. I've also checked their API keys every time and they are always valid.
I've read up on these errors but I don't even see "TimeoutOccurred" on this page.
https://video2.skills-academy.com/en-us/bingmaps/rest-services/status-codes-and-error-handling
So can I get more info on these errors from Bing? Does Bing log these so we can query them or something (grasping at straws here I know). I just want to know why the request failed... sure a "TimeoutOccurred" or they are "Unauthorized", but how come sometimes that identical request will work fine just 5 mins later then?
Any help would be appreciated. I know I don't have many details but I can't replicate these random happenings so I can't get you any more details. Even an idea on how to proceed when I get these errors would be helpful. This stops our users dead in their tracks so telling them "wait a bit and try again" won't cut it.