After calling createOrg({ org_name: 'name' }) a call to /token that returns 500
I am manually calling createOrg as part of the onboarding flow in my react app and I have noticed that once the createOrg comes back and the receive the code in my callback there is a call that goes to /token which comes back with 500 response. the app still works with this.
Not sure if this is normal behaviour or because of the 500, after calling createOrg, the user is not automatically logged in the new Org
getOrganization()
returns no orgCode
Am I doing something wrong? is this an issue I need to work around?
thanks5 Replies
Hi @mariodebono,
Let me speak to my team and get back to you.
Thanks, let me know if you need further details.
Hi @mariodebono,
I don't think this is correct behaviour. Would you be able to DM be details of the token request (URL, querystring params, headers, timestamp) and I can look into it. Looking through logs I don't see any errors related to either business associated with your name.
hi @leo_kinde sure, will do that soon. - thanks
Hi @leo_kinde, just tested the app again and I could not reproduce it, so I guess its no longer an issue.
I will ping you if I come across it again.
cheers
Glad it is working, if it happens again do let us know.