Why does this cause an error but if I remove the third scope it does not?
const authURI = oauthClient.authorizeUri({
scope: [OAuthClient.scopes.Accounting, OAuthClient.scopes.OpenId, OAuthClient.scopes.Payment],
state: 'testState',
});
@cwil423 : Is the production QBO company that you are trying to connect Payments enabled?If so, you would need to have a Production QBO company with Payments enabled
However, If you are testing using a sandbox QBO company, Payments are enabled by default as described here
Why does this cause an error but if I remove the third scope it does not? const authURI = oauthClient.authorizeUri({ scope: [OAuthClient.scopes.Accounting, OAuthClient.scopes.OpenId, OAuthClient.scopes.Payment], state: 'testState', });