Skip to content

AttributeError raised when API responds with 500 status code #45

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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