Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Create API fails with some authentication error

Prithviraj
New Contributor II
New Contributor II
Hi Everyone,
 
We are using an REST connector for our SNOW application. During our build we have encountered an issue with the create API authentication, when we send a request for creating a SNOW account then the valid authentication token is generated but the create API call fails with an error as following "No such property: id for class:" Attaching the logs for better understanding of the issue.
When we try the same create user API call through POSTMAN then it is successful and we are able to create the user. We are using OAuth Bearer token authentication.
 
Your response is much appreciated.
 
Thanks,
Prithviraj
4 REPLIES 4

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @Prithviraj,

Can you please provide the json that you are using in your connector?

@RakeshMG 
Thanks.

If you find the above response useful, Kindly Mark it as "Accept As Solution".

Prithviraj1
New Contributor
New Contributor
  1. Hi Sudesh,

PFA the attached Create Account JSON being used.

Thanks,
Prithviraj

 

what is response of API ?

"accountIdPath":"call1.message.id", 

 

does response have id ?


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

sudeshjaiswal
Saviynt Employee
Saviynt Employee

Hello @Prithviraj1,

Your JSON Seems to be correct,
It appears that your JSON is accurate. Could you please double-check the "connection":"acctAuth" field? The value you specified in the createAccountJson matches what you mentioned in the Connections Details. I have attached a screenshot for reference.

sudeshjaiswal_0-1684731672468.png

Thanks,

If you find the above response useful, Kindly Mark it as "Accept As Solution".