Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

WorkPlace Meta Integration with Saviynt

soumyabrata
New Contributor III
New Contributor III

We want to integrate workplace Meta with Saviynt using REST API.

It works fine from Postman but from Saviynt getting 403 Error both during Account Creation and Account Import.

Error for Recon:

2023-05-10/22:30:18.887 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService -
2023-05-10/22:30:18.887 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService - pullObjectsByRest - responseStatusCode ::403
2023-05-10/22:30:18.888 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService - Entered getResponseHeaders method
2023-05-10/22:30:18.888 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService - responseError : null
2023-05-10/22:30:18.888 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService - isAuthError: false
2023-05-10/22:30:18.888 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService - pullObjectsByRest - responseMap.size : 4
2023-05-10/22:30:18.888 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService - pullObjectsByRest - objectList.size : 1
2023-05-10/22:30:18.889 [{}] [quartzScheduler_Worker-2] DEBUG rest.RestProvisioningService - Inside importAccountsFull:persistAccounts, pptTypeSep : ~#~

Error for Provisioning

{"schemas":["urn:ietf:params:scim:api:messages:2.0:Error"],"detail":"Error (200): Permissions error","status":403,"scim_type":""} 2023-05-10/15:45:55.182 [{}] [quartzScheduler_Worker-1]  ERROR rest.RestProvisioningService - header: [x-fb-request-id:AvwI4JVJWMKXThpc03styEW, x-fb-trace-id:GWD53tveix0, Alt-Svc:h3=":443"; ma=86400, Access-Control-Allow-Origin:*, WWW-Authenticate:OAuth "Facebook Platform" "Error (200): Permissions error", Connection:keep-alive, x-fb-rev:1007467528, Pragma:no-cache, Date:Wed, 10 May 2023 15:45:52 GMT, Strict-Transport-Security:max-age=31536000; preload; includeSubDomains, Cache-Control:no-store, Vary:Origin, Expires:Sat, 01 Jan 2000 00:00:00 GMT, X-FB-Debug:+lWM3cMmmvSsF6AXTclw2qmx7Do/jULrAY5Yq5SJ5PxaYFu6b9vbA8tJt96D/KZyW4dNRSsb1O3Zyy6Qt2t9dw==, Content-Length:129, Content-Type:application/json; charset=UTF-8] 2023-05-10/15:45:55.184 [{}] [quartzScheduler_Worker-1]  ERROR rest.RestProvisioningService - callResponseMap: [schemas:[urn:ietf:params:scim:api:messages:2.0:Error], detail:Error (200): Permissions error, status:403, scim_type:] 2023-05-10/15:45:55.347 [{}] [quartzScheduler_Worker-1]  DEBUG rest.RestProvisioningService - showResponse: null 2023-05-10/15:45:55.186 [{}] [https-jsse-nio-443-exec-11]  DEBUG domain.FlatViewJobcontrolController - 2023-05-10/15:45:55.347 [{}] [quartzScheduler_Worker-1]  DEBUG rest.RestProvisioningService - doBreak: false

Tried multiple times but getting same error. Currently we just passing AccessToken(hardcoded) nothing else. 

Anyone has experience  integrating Meta with Saviynt please let me know.

 

Regards,

Soumyabrat.

 

4 REPLIES 4

SB
Saviynt Employee
Saviynt Employee

Can you check and confirm if you are able to make the calls successfully from Postman. Based on the error you shared, it looks be a permission issue.

"detail":"Error (200): Permissions error","status":403,"scim_type":""}


Regards,
Sahil

soumyabrata
New Contributor III
New Contributor III

This issue fixed now.

Dave
Community Manager
Community Manager

Great news, @soumyabrata ! What was the solution, so future users can learn from this issue? 

Thanks,
Dave

soumyabrata
New Contributor III
New Contributor III

I believe the issue was with contentType and with schema values.

"contentType": "application/json" -----> In all jsons

All the required schema values need to be passed in jsons else it can fail