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

Treat HTTP 404 as ErrNotLoggedIn #36

Open
andig opened this issue May 30, 2021 · 3 comments
Open

Treat HTTP 404 as ErrNotLoggedIn #36

andig opened this issue May 30, 2021 · 3 comments

Comments

@andig
Copy link
Contributor

andig commented May 30, 2021

Seems that the API will sometimes return 404 if not logged in which would currently result in

received status code %d
@joeshaw
Copy link
Owner

joeshaw commented Jun 10, 2021

Can you attach a payload when this occurs? I'm curious if there is any additional info or context from the body of the response that might be helpful.

@andig
Copy link
Contributor Author

andig commented Jun 10, 2021

Unfortunately not- I've just found this in user-contributed logfile during testing. I won't be able to reproduce that.

@andig
Copy link
Contributor Author

andig commented Jun 16, 2021

I can actually repro this now. If I do an api request without prior connect it will try to login without the baseParam being set. That in turn gives a 404. It's user error, but not entirely obvious.

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