• Documentation
  • Workato Blog
  • Product Blog
  • Return to Workato
  • Login
  • Automation Institute
  • Documentation
  • Community Forums
New Topic
Discussions Developer Community Connector SDK
C

Colin McKibben

started a topic over 2 years ago

Custom Connector: Action failed due to server error

I am working on a custom connector for SailPoint, and I'm stuck on getting oauth2 to work. I followed the oauth2 documentation for both Workato (https://docs.workato.com/developing-connectors/sdk/authentication/oauth2-authentication.html) and SailPoint (https://api.sailpoint.com/api_reference/api-authentication), but I keep getting the following error when attempting to make the connection:

Connection failed
Action failed due to server error

Please see attached for screenshots of the error and relevant code blocks.
Screen Shot 2020-12-13 at 9.55.29 AM.png
Screen Shot ...
(159 KB)
Screen Shot 2020-12-13 at 9.53.41 AM.png
Screen Shot ...
(74 KB)
C

Colin McKibben

said over 2 years ago

image

 

C

Colin McKibben

said over 2 years ago

 

image


C

Colin McKibben

said over 2 years ago

When I click connect, workato opens the browser to the SailPoint login.  I enter my credentials, it logs in, the browser closes, and then I get this error.

C

Colin McKibben

said over 2 years ago

I figured it out.  I ended up having to explicitly tell Workato how to send the request to IdentityNow to get it working.  This is the example I used in conjuction with the SailPoint docs:  https://docs.workato.com/developing-connectors/sdk/authentication/oauth2-authentication.html#refresh-tokens

Login to post a comment

Still can't find your solution?

Send us a ticket, we will try our best to assist you with your problem

Documentation
Developer's Library
Tutorials
eBooks
Product Hour
Product Blog
Workato Blog
Product updates
Customer Stories
© Workato 2022   Privacy   Terms   +1 (844) 469-6752
  • Documentation
  • Workato Blog
  • Product Blog
  • Solutions
  • Forums
  • Tickets
  • Log in
  • Return to Workato
Topic views count