You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @sylvainfaivre - thanks for reporting. I believe I need to check HTTP response status code before attempting to decode the JSON. I'll take a look at this soon.
🐛 Bug Report
Sometimes (I don't know what triggers this), pwpush-cli aborts with this error :
JSONDecodeError: Expecting value: line 1 column 1 (char 0)
🔬 How To Reproduce
Running with a self hosted AWS instance.
I have this code running inside a
for
loop :This code sometimes fails with the following stack trace :
This seems to be related to some kind of rate limit, as it doesn't happen if I add a
sleep
invocation in the loop.However, this behaviour differs from the one with the 403 error I posted in another issue.
Environment
The text was updated successfully, but these errors were encountered: