I am trying to connect Sales Force using SharePoint designer workflow(attached to the SharePoint online list).

I am using 'Call http web service' activity to call Sales Force login API with required body content.

I am getting "Bad request" response code.But I am getting success when calling it with Postman.


Does it return in JSON format? If not you need to specify a header to force it to return JSON as workflows only accepts JSON.

Also you might want to look into the error message to give you any hints.

|improve this answer|||||
  • following is the response {"error_description":"grant type not supported","error":"unsupported_grant_type"}.I was getting same response in postman as well but after adding missing parameter in body it worked well. but not working in designer workflow. – Akshay Belure Sep 28 '18 at 6:43
  • I'm not too familiar with webservice calls in general, so I'm afraid I wont be of much help here. – Morten K Sep 28 '18 at 6:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.