Re: Making Salesforce API calls from Outsytems fail

Re: Making Salesforce API calls from Outsytems fail

  


Hi,


Thank you in advance.

Could anyone give me the reason why Salesforce API calls fail when invoking from Outsystems? Is there anything that I am missing while invoking which is causing the error?


I am also trying to integrate my application module with the Salesforce Connector(Component in Forge). I am having hard time figuring out the steps involved in doing that. I would very much appreciate if you can guide me through connecting the module with any Forge component.


Best Regards,

Punya Swarooop Sirigiri


Hi Punya,

If you do not even specify the error you get, how do you expect anyone to be able to help you? Please try again.

Hi Kilian,


I am so sorry for that. The error is '401 unauthorized'.


Thanks!

Best Regards,

Punya Swaroop Sirigiri

Hi Punya,

That error means that Salesforce does not accept your credentials, or you forgot to specify them. Have you passed the proper credentials to Salesforce?

Hi Kilian,


Yes, I entered correct credentials and I verified it using data loader if they are correct.


Best Regards,

Punya Swaroop Sirigiri

Well, nevertheless Salesforce refuses them. It might be that they are in the wrong place. Have you tried debugging the REST call you make to check whether everything's ok?