Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Saved GraphQL query REST "run" endpoint reports "GraphQLQuery matching query does not exist." #727

Closed
glennmatthews opened this issue Jul 21, 2021 · 0 comments · Fixed by #730
Assignees
Labels
type: bug Something isn't working as expected

Comments

@glennmatthews
Copy link
Contributor

Environment

  • Python version: 3.6.14
  • Nautobot version: 1.1.0

Steps to Reproduce

  1. Create a saved GraphQL query and take note of its UUID
  2. Verify that the query is retrievable from a GET to api/extras/graphql-queries/<uuid>/
  3. Issue a POST to api/extras/graphql-queries/<uuid>/run/

Expected Behavior

Specified GraphQL query should run and report its results

Observed Behavior

500 error with body:

{
  "error": "GraphQLQuery matching query does not exist.",
  "exception": "DoesNotExist",
  "nautobot_version": "1.1.0",
  "python_version": "3.6.14"
}
@glennmatthews glennmatthews added type: bug Something isn't working as expected status: accepted labels Jul 21, 2021
@glennmatthews glennmatthews self-assigned this Jul 22, 2021
glennmatthews added a commit that referenced this issue Jul 27, 2021
hellerve added a commit to hellerve/nautobot that referenced this issue Aug 5, 2021
* develop: (110 commits)
  Add release-note for nautobot#506
  Adding docs and checks for MAINTENANCE_MODE (nautobot#743)
  Add release-note for nautobot#744
  Add Celery DjangoFixup explicitly. Fixes nautobot#744 (nautobot#763)
  Added release-notes for nautobot#759
  Correct Power Feed and Power Panel Navigation (nautobot#760)
  Added release-notes for nautobot#738
  .Fix issue nautobot#738 protect *.env files (nautobot#741)
  Added release-notes for nautobot#681
  Adding AWS S3 Example (nautobot#681)
  Nautobot Application Stack (nautobot#713)
  Add release-note for nautobot#727
  Bump version to 1.1.1-beta.1
  Fix GraphQLQuery run API endpoint. Fixes nautobot#727 (nautobot#730)
  Implement `FileProxy` and `FileAttachment` objects (nautobot#712)
  Update computed field GraphQL schema generator to use correct arg name (nautobot#721)
  Added changelog for nautobot#372
  Add support for custom fields in tables (nautobot#469)
  Bump version for v1.1.0 and prep release notes.
  Added changelog for nautobot#717
  ...
hellerve added a commit to hellerve/nautobot that referenced this issue Aug 12, 2021
* origin/next: (104 commits)
  Add release-notes for nautobot#479, nautobot#674, nautobot#716
  Plugin support to add items to the homepage (nautobot#674)
  Implement a base template for generic object detail views (nautobot#737)
  Bump version to 1.2.0-alpha.1
  Add release-note for nautobot#727
  Bump version to 1.1.1-beta.1
  Fix GraphQLQuery run API endpoint. Fixes nautobot#727 (nautobot#730)
  Implement `FileProxy` and `FileAttachment` objects (nautobot#712)
  Update computed field GraphQL schema generator to use correct arg name (nautobot#721)
  Added changelog for nautobot#372
  Add support for custom fields in tables (nautobot#469)
  Bump version for v1.1.0 and prep release notes.
  Added changelog for nautobot#717
  Bump pillow from 8.1.2 to 8.2.0 (nautobot#717)
  Added changelog for nautobot#691
  Celery RQ migration and concurrency (nautobot#691)
  Add release-note for nautobot#702
  Host GraphiQL dependencies statically rather than on CDN. Fixes nautobot#702 (nautobot#714)
  nautobot#647 Software Defined Homepage (nautobot#716)
  Added changelog for nautobot#703
  ...
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant