Scripts return 401 error randomly
Bug #318112 reported by
Bryce Harrington
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
launchpadlib |
New
|
Undecided
|
Unassigned |
Bug Description
I find that several of my launchpadlib scripts seem to work right most of the time, but every so often they get a random 401 error that causes the session to end. Usually I can immediately re-execute the script using the cached auth tokens, and it keeps right on chugging, so it's not really clear why the 401 error was returned.
To post a comment you must log in.
What's the access-level of the token you are using? If it is lower than "read anything" a possible reason for this might be that you try to access private data, for example trying to get information of a private bugreport (this is why I get such 401 sometimes while accessing random bugreports)