2 weeks ago
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.
2 weeks ago
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
2 weeks ago
Hi @Prajwal
This is how I have Postman configured for this ChartHop endpoint. There are no additi9nal jeaders other than the ones Postman generates.
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.
2 weeks ago
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.
2 weeks ago
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!