Prospect query throws an AttributeError when it attempts to get the results from the response object...
|
result = response.get('result') |
...because the client has set it to the status code (e.g. integer) when it expects a json string:
|
return response.status_code |