Skip to content

AttributeError raised when API responds with 500 status code #45

@jrkinley

Description

@jrkinley

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions