Skip to content

Conversation

@btipling
Copy link
Contributor

@btipling btipling commented Mar 6, 2025

When the user did not setup the box app correctly or used invalid credentials the Box API returns a helpful error message but we are not showing it to the user.

connector","error":"box-connector: failed to get token: failed to get access token: {\"error\":\"invalid_client\",\"error_description\":\"The client credentials are invalid\"} status: 400 Bad Request"}
box-connector: failed to get token: failed to get access token: {"error":"invalid_client","error_description":"The client credentials are invalid"} status: 400 Bad Request

Before it wouldn't error at all, it assume authentication succeeded and would try to authenticate with an empty string access token and fail later with an unhelpful error.

@btipling btipling merged commit 53210ad into main Mar 7, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants