AlexJ_Proc - Hey team! I ran into a weird edge ...

Hey team! I ran into a weird edge case with an API and I'm looking for clarification around what is supposed to be the correct behaviour. My companies application is making a call to the update user endpoint (/api/rest/2.0/users/{user_identifier}/update). In the app under the developer tab when I call this API it works fine updating a user when I do not have the account_status field defined. In our code though the API is failing with a 500 error stating Unable to update user state to ACTIVE from PENDING. I can make the exact same API call in the ThoughtSpot against the same user in who is in the same state and it works. My question is: is this a bug and if so which API is working correctly? Thank you in advance!
1 Reply
shikharTS
shikharTS5d ago
Is the payload exactly the same? If yes can you send the HAR files from your application and the HAR file from playground? Seems weird if the payload is same and it is behaving differently..

Did you find this page helpful?