---------------------------------------------------------------------------
JSONDecodeError Traceback (most recent call last)
<ipython-input-2-24a75baaead1> in <module>()
1 # Crashes
2 lake_id = 17
----> 3 ts = he.get_lake_time_series(lake_id, 'water_area')
d:\src\github\hydro-engine\src\py\hydroengine\hydroengine.py in get_lake_time_series(lake_id, variable, scale)
39 r = requests.post(SERVER_URL + '/get_lake_time_series', json=data)
40
---> 41 return json.loads(r.text)
42
43 def download_lake_variable(lake_id, variable, path, scale):
C:\Program Files\Anaconda3\lib\json\__init__.py in loads(s, encoding, cls, object_hook, parse_float, parse_int, parse_constant, object_pairs_hook, **kw)
317 parse_int is None and parse_float is None and
318 parse_constant is None and object_pairs_hook is None and not kw):
--> 319 return _default_decoder.decode(s)
320 if cls is None:
321 cls = JSONDecoder
C:\Program Files\Anaconda3\lib\json\decoder.py in decode(self, s, _w)
337
338 """
--> 339 obj, end = self.raw_decode(s, idx=_w(s, 0).end())
340 end = _w(s, end).end()
341 if end != len(s):
C:\Program Files\Anaconda3\lib\json\decoder.py in raw_decode(self, s, idx)
355 obj, end = self.scan_once(s, idx)
356 except StopIteration as err:
--> 357 raise JSONDecodeError("Expecting value", s, err.value) from None
358 return obj, end
JSONDecodeError: Expecting value: line 1 column 1 (char 0)