QBO Integration

Hi all,

I’m running into a refresh error of death with my QBO API Connection. Every time I start to initiate the call from a button, I get stuck. From what I can tell, my API is set up correctly and I have all of the redirect URIs properly loaded in the dev/prod environment in QBO Devs. I can’t seem to find a good answer in the forum and Chat keeps spitting out the same result.

Is there anyone that has experience with this error?

Thank you!

Yeah, the “refresh error of death” with QBO is super common. Usually it happens when the access token has expired or the refresh token isn’t being handled correctly. Even if your redirect URIs are correct, Bubble needs the token workflow set up properly, otherwise the call just hangs.

One thing that helps is to use a backend workflow to handle token refresh and make sure your API Connector calls are pointing to that workflow rather than trying to refresh on the button click. Also double-check that your Dev and Prod tokens aren’t getting mixed up; separate connections usually make things more reliable.

The issue I’m having is more about authorization and not refreshing than what I need to when I have the integration set up. So my problem is actually different than the ongoing access of QBO and is fully pointed to the initial authentication, since I’m essentially failing before a refresh token is even created. I can’t seem to get this to authorize, and I keep getting the refresh error of death despite everything being recently linked.

Just following up on this, but it appears that the OAuth2 User-Agent Flow on the Bubble side no longer works with Intuit’s updated token security. This appears to be true for most third-party entities. So, ultimately:

Bubble’s OAuth2 “User-Agent Flow” is now incompatible with parts of Intuit’s interaction model.