https://linen.dev logo
Is this expected behavior? Google API 401
# 🖥│support-forum
a
I am receiving a 401 response to a tool call for a google oauth provider. However, the connected account ID shows 'active' status in my auth configs on the dashboard, do I have to handle the 401 and update the status in my auth config for the connected account ID manually? Log ID: log_G7rAAEsuWLRp
u
Hey @Antman, we are checking this.
a
Hey @Uday any update on this?
I was also wondering if there's an endpoint I can poll to get the latest status for a connected account ID?
u
Hey @Antman, we've checked it on our end and your connected account failed to refresh. As you are using your own credentials it could be due to one of these reasons: 1. **User password change**: When the Google account password is changed, certain associated OAuth 2.0 access and refresh tokens are automatically revoked for security. 2. **User manually removes app access**: The user can remove your app under Google Account > Security > Third‑party access, which immediately invalidates issued tokens. 3. **Admin revokes or blocks the app (Workspace)**: A Google Workspace admin can revoke tokens or block the app/scopes in the Admin console, causing existing tokens to stop working. Some useful resources: https://cloud.google.com/blog/products/application-development/increased-account-security-via-oauth-2-0-token-revocation, https://developers.google.com/workspace/docs/api/troubleshoot-authentication-authorization, https://support.google.com/a/answer/6328616
Also, regarding the endpoints, you can use these to [get connected account details by ID](https://docs.composio.dev/rest-api/connected-accounts/get-connected-accounts-by-nanoid) or [list all connected accounts](https://docs.composio.dev/rest-api/connected-accounts/get-connected-accounts).
2 Views