cancel
Showing results for 
Search instead for 
Did you mean: 

fidm.saml.getConfig returns 403 Forbidden

jainamsheth
Product and Topic Expert
Product and Topic Expert
0 Kudos
553

SAP CDC getConfig API

I did a GET request to https://fidm.us1.gigya.com/fidm.saml.getConfig with body as raw JSON - { "idpName": "anborg" }

Added access_token in Authorization as Bearer Token which I get from https://socialize.us1.gigya.com/socialize.getToken where the secret and the userKey is from the user with all admin rights.

Getting the following response:

{

"callId": "3fea81b2a4a34ffc86764975d66f6ab9",

"errorCode": 403007,

"errorDetails": "Invalid namespace 'fidm.saml' or method 'getConfig' or you do not have the required permissions to call it. ",

"errorMessage": "Permission denied",

"apiVersion": 2,

"statusCode": 403,

"statusReason": "Forbidden",

"time": "2023-10-27T22:30:12.121Z"

}

Is there any way I can fix this?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

SebastianSchuck
Active Participant

Hey Jainam,

I think fidm.saml.getConfig is a POST request endpoint (as you need to send a data body). Try to call it with POST and see what happens.

Best,
Sebastian Schuck

jainamsheth
Product and Topic Expert
Product and Topic Expert
0 Kudos

I already tried with a POST request to getConfig. It still shows the same error.

SebastianSchuck
Active Participant
0 Kudos

Can you call the endpoint passing along the userkey and secret directly? Just to confirm it's not an issue with the user but the access token scopes.

Additionally, instead of the Bearer Authorization header prefix, try to use OAuth. Alternatively, you can also add the access token as oauth_token parameter to your request.

jainamsheth
Product and Topic Expert
Product and Topic Expert
0 Kudos

Directly passing the userkey and secret is working. Thanks.

Answers (0)