Quickbooks Integration: This account is expired. Please reconnect it here
I have created an app by zapier developer plataform to get new access token by quickbooks online, but every hour that the access token expires zapier disconnect the connection in My Apps > Custom Integrations and I have to reconnect again, but my Connection with quickbooks I did by email and password it doesn't have anything to do with the access token or refresh token.
After I reconnect it continues working by 1 hour, after the token expired it havens again, asking to reconnect.
After reconnect, it works for 1 more hour.
Page 1 / 1
Hey there, @DanielMasterpiece - thanks for reaching out in community! Since this is related to a custom integration I’m going to move your question to our dev forum for some more technical eyes on this.
// You can do any parsing you need for results here before returning them
return results; });
in Test I switched to CODE MODE:
const options = { url: '<API endpoint URL to test authentication credentials( put yours URL Endpoint)>', method: 'GET', headers: { 'Accept': 'application/json', 'Authorization': `Bearer ${bundle.authData.access_token}` }, params: {
} }
return z.request(options).then((response) => { const res = response.json; if (res.expiredError) { // What to do here? throw new z.errors.RefreshAuthError(); } else { return bundle.authData; } });