Skip to main content
Contributor ⭐️⭐️
November 12, 2021
Question

Unable to add/update standard USER object (GsUser) using API which was working earlier

  • November 12, 2021
  • 6 replies
  • 227 views

Hi,

I was able to add / update standard USER object using API calls few weeks back but now it is throwing  errors.

APIs:

POST - ADD API - https://domainname/v1/data/objects/GsUser
PUT - UPDATE API - https://domainname/v1/data/objects/GsUser?keys=Email

Error:

"errorCode": "GSOBJ_1056",

"errorDesc": "Wrong api called, Transactional Data Load not supported for this object. Please check Gainsight Documentation."

 

Can you please advise why this is happening now ?  Also what is alternate way to “INSERT, UPDATE” GsUser object using Rules or API ?

 

Thanks,

Lidwin

6 replies

bplaster
Contributor ⭐️⭐️
February 2, 2022

Hello, was this solved?   We’re getting the same error

 

 

lidwinAuthor
Contributor ⭐️⭐️
February 2, 2022

Hi @bplaster ,

I got an update from Gainsight engineering team that API Add/Update functionality is restricted on GSUser object to enforce security. We may need to find alternate ways (may be upload user csv manually) to achieve user management.

Hope this helps !!

 

Thanks,

Lidwin

 

 

 

bplaster
Contributor ⭐️⭐️
February 2, 2022

Thanks @lidwin we’re going to look at Upsert as well, instead of update

bplaster
Contributor ⭐️⭐️
February 2, 2022
lidwinAuthor
Contributor ⭐️⭐️
February 2, 2022

“Upsert” is not allowed in GSUser object.

Also Person object represents Company Person (Contacts etc) not the Users of Gainsight.

 

bplaster
Contributor ⭐️⭐️
February 2, 2022

Got it, We’re updating Person.  

 

I got the exact same Error when updating Person .  . . .which is strange in itself.  Thanks for clarifying

Error:

"errorCode": "GSOBJ_1056",

"errorDesc": "Wrong api called, Transactional Data Load not supported for this object. Please check Gainsight Documentation."