Error with idempotencies key after token expiry
Ottunger opened this issue · 2 comments
Ottunger commented
This bug is a bug on Mangopay's side, not at the SDK side, but maybe you can work around it.
Steps to reproduce:
- Make an API call when Oauth2 token is now invalid, the call using an
Idempotency-Key
header - SDK will reauth using long term key and obtain new Oauth2 token
- SDK will redo the initial call
Expected: third call goes through
Happening: third call is rejected because idempotency key is said to be known.
I don't know if you can think of a way to avoid this?
fredericdelordm commented
Ottunger commented
Hi,
Any chance you found a way around this?
Thanks