I am migrating a web services connector for reading data in SuccessFactors to production, and I have already migrated an OOTB connector with the same parameters that works correctly. However, when migrating the web services connector, I am getting a ‘401 Unauthorized’ error. In the development environment, I have the exact same connector that passes through a before rule to generate a SAML and connect with SuccessFactors. Everything is exactly the same, except I have migrated the parameters to production, and I don’t know what else to check to find where the issue might be.
The logs from the VA give me the following error, but if I test through Postman with the same data, I am able to make the calls after obtaining the Bearer token. The rule in the Sandbox works correctly, and in production, it’s a copy-paste of the Sandbox rule, so I’m not sure where the error could be.
What kind of authentication method are you using is it OAuth?
Can you validate your Client ID once. If you have copied the source from lower environment to prod you may have to reenter Client ID, secret. Also this error could be cause of Client ID as per the documentation
Hi @Juanisola ,
From the error, it looks like the bearer token in the Authorization
header is being sent as null which is causing the issue.
Can you check if bearer token is generated correctly and passee in correctly in the header?
Probaby, as mentioned above, due to clientID or credentials issue you are facing this.
Another thing to check is the token variable that you are using to pass the bearer token value.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.