Changing account yield a 500 error code


#1

My app is using OAuth to authenticate with mailchimp and I am testing that exact functionality right now.
I am authenticating, unlinking and linking back different account and from time to time I get:
raven.js:1 POST https://hooks.cloudflareapps.com/trigger 500
raven.js:1 Hook failure {data: {…}, status: 500, headers: ƒ, config: {…}, statusText: “”}raven.js:1 Hook failure {data: {…}, status: 500, headers: ƒ, config: {…}, statusText: “”}

Now the request never reaches my server so I reckon it must fail either internally or with the authentication with mailchimp.
When I refresh and start again everything works.
Is there a way to trigger retry in your attempts to authenticated against the service?
Maybe the error you show in the UI should advise the user to refresh instead of a generic “we notified the developer”
Any help of how to resolve that is appreciated.