cancel
Showing results for 
Search instead for 
Did you mean: 

ChartHop job api connection

b-driscoll
Deputy Chef II
Deputy Chef II

Hi all,

I am trying to create a connection to ChartHops job api.  I was provided an api token, and I can use this in Postman to get the data I am looking for.  However, I am not able to get a connection to work in Workato.  In Postman I use the auth type "Bearer Token" but I don't see anything like that in Workato.  I tried Header Auth but that didn't work.

Has anyone had experience with ChartHop?  Do I need additional credentials in addition to or other than the api token?  Is there a way I can make this connection with the api token?

Thanks for taking the time.
Cheers.

5 REPLIES 5

Prajwal
Deputy Chef III
Deputy Chef III

Hi @b-driscoll

Can you provide some snapshots of how you are configuring the authentication in the postman as well as in the Workato? I can help you on this.

The ideal case would be,

1. If you are using the Bearer token authentication, you have to specify the key as Authorization and the value would be Bearer <accesstoken/apitoken>.

2. If you are using the api key as authentication, then you have to specify apikey as key and value would be the <apikey>.

for more information. Please refer this documentation - https://docs.workato.com/developing-connectors/http/building-http-action.html#configure-multipart-re...

 

Regards,
Prajwal Prasanna

Prajwal Prasanna

Hi @Prajwal 

This is how I have Postman configured for this ChartHop endpoint.  There are no additi9nal jeaders other than the ones Postman generates.Screenshot 2024-12-09 at 9.36.15 AM.png

This is how the connection is configured in Workato.  I have tried apikey as well, but still get 401 errors.  None of the other Auth types seem to apply.  I'll sen another reply with screenshot from the guided setup.
Screenshot 2024-12-09 at 9.32.33 AM.png

Hi @Prajwal 

Screenshots from the guided setup.  Do I need to set it up manually?  I tried that last week with the same results, but can try again.  I'm missing something. Thanks for your help.
Screenshot 2024-12-09 at 9.57.57 AM.pngScreenshot 2024-12-09 at 9.58.16 AM.pngScreenshot 2024-12-09 at 9.58.28 AM.png

b-driscoll
Deputy Chef II
Deputy Chef II

Hi @Prajwal 

 

I was able to get the connection to work using Authorization as the key and Bearer <apitoken> as the value.  It took me a few minutes before it dawned on me that you meant to actually include the work Bearer in the string.   🙂

Thanks for your help!