I'm new to using the Valence API and working through the code samples in Python. I've been stumped by a 500 error when running the code from the "Fetch final grades" sample (found at http://docs.valence.desire2learn.com/samples/finalGrades.html). I'm new to programming in general and fear that I don't know what further information to provide to diagnose my issue. The error notes "Exception: HTTPError('404 Client Error: Not Found',)"
I can also provide traceback notes, which I'm hoping is appropriate to post here.
Traceback (most recent call last):
...bottle.py", line 764, in _handle return route.call(**args)
...bottle.py", line 1625, in wrapper rv = callback(*a, **ka)
...bottle.py", line 1575, in wrapper rv = callback(*a, **ka)
...finalgrades.py", line 149, in start_handler verify=_CFG['verify'])
...d2lvalence_util\service.py", line 267, in get_whoami return d2ldata.WhoAmIUser(_get(route,uc,**kwargs))
...service.py", line 86, in _get return _fetch_content(r,debug=d)
...service.py", line 46, in _fetch_content r.raise_for_status()
...models.py", line 773, in raise_for_status raise HTTPError(http_error_msg, response=self) requests.exceptions.HTTPError: 404 Client Error: Not Found
I haven't augmented the code provided by D2L. Did anyone else run into this problem, and if so, how did you solve it?