Skip to content
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

Clearer errors #7

Open
mduqueoviedo opened this issue Mar 3, 2015 · 1 comment
Open

Clearer errors #7

mduqueoviedo opened this issue Mar 3, 2015 · 1 comment

Comments

@mduqueoviedo
Copy link
Contributor

In the lib, the HttpUnauthorized error is mapped as raise Error.new("unauthorized", "Missing, invalid or expired access token.")

However I have received this error in two cases when the situation is different:

  • When my developer key got a permission error, specifically when I tried to create a new figo user and my app was not authorised to do so.
  • When I invoke session.user over a previously removed user (but the session is valid).

In both cases I think the problem has nothing to do with the token and the error is a bit misleading.

@homeworkprod
Copy link

That's my experience as well.

emaserafini pushed a commit that referenced this issue Sep 6, 2019
* add model and api calls for catalog

* Fix client and user auth in catalog endpoints + add tests
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

No branches or pull requests

2 participants