Skip to main content
Solved

Getting Error while executing Get User id API

  • September 15, 2021
  • 4 replies
  • 62 views

Hello All,

 

I am using https://api2-us-west-2.insided.com/user/{field}/{value} this api from third party tool  to get user ID of the user so when I am trying to execute it then it is giving me internal error. Attached is the screenshot of the same.

Please suggest what shoul I do to resolve this issue.

 

Best answer by Sakshi Rathor

Hi @Jeanie Lee ,

 

I have added the header as “Accept” in my REST call and now it is working fine.

 

Thank you so much for your help. Issue is resolved now.

 

4 replies

Jeanie Lee
  • Helper ⭐️⭐️⭐️
  • September 20, 2021

Hi @Sakshi Rathor,

 

I’ve escalated this question to our support team, who would be best suited to investigate this technical issue. 


  • Author
  • Helper ⭐️
  • Answer
  • October 12, 2021

Hi @Jeanie Lee ,

 

I have added the header as “Accept” in my REST call and now it is working fine.

 

Thank you so much for your help. Issue is resolved now.

 


Yoeri
Forum|alt.badge.img+4
  • Gainsight Employee ⭐️⭐️⭐️
  • October 14, 2021

Thanks for getting back to this and glad to hear it’s working now! :)


davetee
  • Helper ⭐️
  • September 10, 2025

I ran into the same issue with the basic https://api2-us-west-2.insided.com/user/{id} call. Other calls worked fine, but this one kept returning a 500 error unless the response format was explicitly defined.

Here’s the complete key/value pair in the header that resolved it for me:

Accept: application/json

It might be worth noting this requirement in the API docs, since other calls don’t need it. Alternatively, defaulting to JSON when nothing is specified could save a few headaches.