I have created a new custom API to connect to the UPS API for tracking package delivery statuses. I set up and was successful at getting a token with Basic Auth and the Client Credentials OAuth method. Here’s the response I get from the Authentication within Zapier (with the client_id and access_token trimmed):
{
"token_type": "Bearer",
"issued_at": "1662523536426",
"client_id": "2fkN……….",
"access_token": "eaWQi…...",
"scope": "",
"expires_in": "14399",
"refresh_count": "0",
"status": "approved"
}
I have set up an action to retrieve the tracking information according to the Tracking GET call from their documention. However, I get the following error when I test an active tracking number I have:
The app returned "Invalid Authentication Information.".
When I look at the HTTP response, I can see it getting a token as part of the request, but it still is failing or not passing it. I would appreciate any insights as to why this is not working.
Other things I’ve tried before creating this post
- Tried to authenticate (unsuccessfully) with:
- API Key Authentication
- Session Auth
- OAuth2 (this is for a different service that does not match my requirements)
- Walked through the CURL request on the API documentation site and made sure all the fields were being passed
- Searched in forums related to custom programming with same errors, no results.
- Ask Fedex API team for help, but they are not familiar with Zapier (lame, I know)
- Offered burnt offering to the programming gods