Hi folks, wanted to say that I really like the new...
# prefect-community
m
Hi folks, wanted to say that I really like the new cloud UI design - but I am facing a weird error in the interactive API and I am wondering if there might be a bug
this is the query that I am testing
Copy code
mutation {
  create_cloud_hook(
    input: {
      type: EMAIL,
      name: "cloudhook_test_fail",
      version_group_id: "57xxx05c",
      states: ["Timedout", "Failed", "TriggerFailed"],
      config: "{\"to\": \"<http://myemail.co|myemail.co>\"}"
    }
  ) {
    id
  }
}
and this is the error that I am getting
Copy code
{
  "errors": [
    {
      "message": "Unknown argument \"limit\" on field \"create_cloud_hook\" of type \"Mutation\".",
      "extensions": {
        "code": "GRAPHQL_VALIDATION_FAILED"
      }
    }
  ]
}
n
Hi @Marwan Sarieddine - sorry you're running into that! That looks like a bug with limit injections, I'll make sure a fix gets out for that asap 🙂
👍 1
Following up on this @Marwan Sarieddine, https://github.com/PrefectHQ/ui/pull/533 will fix that issue and I expect we can release it tomorrow 🙂
m
nice - thanks