Skip to main content
Contributor ⭐️⭐️
Nov 12, 2021 4:24 AM UTC
Question

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

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 ⭐️⭐️
Feb 2, 2022 5:08 AM UTC

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

 

 

Translate
lidwinAuthor
Contributor ⭐️⭐️
Feb 2, 2022 5:14 AM UTC

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

 

 

 

Translate
bplaster
Contributor ⭐️⭐️
Feb 2, 2022 5:45 AM UTC

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

Translate
bplaster
Contributor ⭐️⭐️
Feb 2, 2022 5:46 AM UTC
lidwinAuthor
Contributor ⭐️⭐️
Feb 2, 2022 6:34 AM UTC

“Upsert” is not allowed in GSUser object.

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

 

Translate
bplaster
Contributor ⭐️⭐️
Feb 2, 2022 6:43 AM UTC

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."

Translate