Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/24/2023 07:04 PM
Hello,
I am setting up my first custom application in my dev environment. My connection appears successful and the import job for accounts run successfully, but it doesn't list any accounts imported. I was hoping to get some guidance on what I am missing in the configuration.
Sample API return:
04/24/2023 08:36 PM
REST Connector always return success if testconnection json not configured.
what is error in logs ?
04/25/2023 09:20 AM
Thank you for the response. I don't see any errors in the logs. It seems to output the loading of the config, report a success and no accounts found. After adding the showlogs key I don't see anything that looks like a response from the API except for posting a 200 response code
04/25/2023 12:56 AM
To further diagnose the issue, I would suggest checking the following:
Verify that the data you are importing is in the correct format and that the data fields are mapped correctly.
Check if there are any error messages or warnings in the logs that could provide more insight into the issue.
04/25/2023 09:22 AM
I have validated the API call in postman with the same credentials and it all works. This is a different type of query since it is going against a graphql endpoint through a rest connection. Here is an example of the postman's curl output
04/25/2023 01:09 AM
Can you add ConfigJSON
{
"showLogs": true
}
get more log trace.
Also I hope you are following About this Guide (saviyntcloud.com)
04/25/2023 07:05 AM
Hi @KevinMurphy
Couple of suggestion:
I don't think there is an email field in accounts table, please try to do below mapping and try again
"customproperty2": "email~#~char",
Try to add below to get more details.
{
"showLogs": true,
"accountParams": {
Follow below guide to get more details
https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm
Also it is assumed that you are getting the correct response from API when you try from Postman.
Thanks
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
04/25/2023 09:23 AM
Thank you for pointing out the email address field. I flipped between so many docs I may have made a bad assumption there. The showlogs didn't seem to help show anything different, but yes postman calls work fine
04/25/2023 09:24 AM
Did it fix the issue post correcting the config?
Thanks
Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.
04/25/2023 09:32 AM
no, but it was something I was going to have to fix eventually. I see no errors in the logs it just seems like it isn't getting anything. I figure either my listfield is incorrect or I am posting the API incorrectly within the config. I haven't found a good example of posting body data in the call config. I tried putting it in the httpParams section: