Applicationerror2 And Applicationerror5 When Communicating With External Api From Appengine
I have built an application on google app engine, in python27 to connect with another services API and in general everything works smoothly. Every now and then I get one of the fol
Solution 1:
You get to start using the word "idempotent" in casual conversations and curses :)
The only thing you can do is to try the call again, and accept the fact that your initial call may have gone through, only to time out on the response - i.e. if the call actually did something (create a customer order for example), after the timeout error you might have to check if the first request succeed so you don't end up with multiple copies of the same order.
Hope that makes sense. FWIW we work with some unfriendly API's and for us, about 80% of our code is dealing with exactly this sort of !@#$%.
Post a Comment for "Applicationerror2 And Applicationerror5 When Communicating With External Api From Appengine"