-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better console messages when API key is invalid #158
Comments
Thanks for the suggestion. Seems like a good idea to me. |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Since I'm quite new to this repository, wanted to know what would be the best way to test the code changes made for this issue. Would that be to open the HTML files in the example directory (after running |
Also, the tests are failing for |
Hey everyone. Has this issue been addressed because I had something similar and didn't know what the issue was until I checked my console. Cc @gavinr-maps |
I don't think so 😄 |
What will be the best way to render it on the UI? |
I would say a |
That is ok with me. Thanks! |
Describe the problem
I just realized that when using an invalid API key the error message is not intuitive at all:
Describe the proposed solution
I would prefer a console error by showing
Invalid API key or access token
or something like that.Alternatives considered
No response
Additional Information
I noticed I'm not the first one struggling with this xD
The text was updated successfully, but these errors were encountered: