Hi Everyone.
So I’m developing a Zapier integration against an Graphql Endpoint.
Sometimes Zapier sends me an email saying:
When I look at the request, I can see that the underlying endpoint returned “Token is expired”. Now my question is, how do I fix this?
I’m using the “Code mode”, so I envision something like:
const res = response.json;
if (res.expiredError) {
// What to do here?
} else {
return res.someDataPath;
}
But how do I “inform” the trigger that the token is expired?