BadCredentialsError when using OAuth2 Authentication

I’m trying to connect to Xero API and I’m getting this error when trying to use OAuth2 authentication. Here’s the error logs:

User ID
1686252
Pack Version
3
Pack ID
13534
Request ID
9c9a91f6-9ba0-41f6-8814-7f723f007603
Created at
Jul 21, 2022 @ 18:45:11
Request type
getIdentifiersForConnectionRequest
Invocation source
Server
Duration
2465ms
Error
13 INTERNAL: BadCredentialsError: User must reauthenticate due to incompatible changes in Pack auth settings. The authorized network domain has changed
Stack trace
at processTicksAndRejections (internal/process/task_queues.js:77:11) 

Does anyone has an idea of what is this error or why does this happens?

Hi @Amir_Banihashemi1 - I believe this issue was due to a bug on our end, which we have have identified and fixed. I believe the fix has rolled out to prod now, can you please try signing in to this Pack again and see if the error is resolved?

1 Like