Skip to content

Bad API behaviour results in uncaught errors #94

Description

@varon

An incorrect query to the Monday.com GraphQL API results in the following error:

{
  "error_code": "ColumnValueException",
  "status_code": 200,
  "error_message": "This status label doesn\u0027t exist, possible statuses are: {0: Working on it, 1: Done, 2: Stuck, 3: Started}",
  "error_data": {
    "column_value": "{\"label\"\u003d\u003e\"Bottling\"}",
    "column_id": "status"
  }
}

This returns status code 200, and bypasses all error detection in the code for the success path, because it's looking for only the key "errors" - perhaps we can expand this via config? Any ideas on how to handle that?

Thanks for making such a great tool.

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