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
A couple of calls to request_location_prices calls failed in an ~2h window around 27.4.22 17:18 with the following error:
Expecting value: line 1 column 1 (char 0) : Traceback (most recent call last):
File "/home/app/web/.local/lib/python3.9/site-packages/django_q/cluster.py", line 432, in worker
res = f(*task["args"], **task["kwargs"])
File "/home/app/web/spritstat/services/price.py", line 114, in request_location_prices
prices = _request_prices(url)
File "/home/app/web/spritstat/services/price.py", line 136, in _request_prices
json_data = _execute_api_request(url)
File "/home/app/web/spritstat/services/price.py", line 157, in _execute_api_request
json_error = json.loads(r.data.decode("utf-8"))
File "/usr/local/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
As this was an ephemeral error it is most likely caused by an server error, but needs investigation.
The text was updated successfully, but these errors were encountered:
* Fix invalid calls to calculate user statistics errors (actually
this was only a change in the database, this fix only fixes the
migration that added the calls)
* Add logging of the server response for location requests to help
analyze issue #95
A couple of calls to
request_location_prices
calls failed in an ~2h window around 27.4.22 17:18 with the following error:As this was an ephemeral error it is most likely caused by an server error, but needs investigation.
The text was updated successfully, but these errors were encountered: