carwings
carwings copied to clipboard
Treat HTTP 404 as ErrNotLoggedIn
Seems that the API will sometimes return 404 if not logged in which would currently result in
received status code %d
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.
Unfortunately not- I've just found this in user-contributed logfile during testing. I won't be able to reproduce that.
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.