"message": "Unknown operation named \"undefined\"."
See original GitHub issueI’m testing / debugging resolvers using GraphiQL. At times, seemingly prompted by restarting the backend app, I’ll start getting responses like this:
{
"errors": [
{
"message": "Unknown operation named \"undefined\"."
}
]
}
Restarting the app or refreshing the GraphiQL page do not fix the error. However, cutting the query and pasting it back into the query window seems to resolve the issue.
Thanks.
Issue Analytics
- State:
- Created 7 years ago
- Reactions:31
- Comments:25 (10 by maintainers)
Top Results From Across the Web
What does the "operation name" reference? - Stack Overflow
When they have operation names they can be listed when you click the play / run button. enter image description here.
Read more >"message": "Unknown operation named \"undefined\"."
I'm testing / debugging resolvers using GraphiQL. At times, seemingly prompted by restarting the backend app, I'll start getting responses ...
Read more >Error handling - Apollo GraphQL Docs
This occurs when a request containing multiple named operations doesn't specify which operation to run (i.e., operationName ), or if the named operation...
Read more >Troubleshooting and Common Mistakes - AWS AppSync
If your GraphQL operation returns the following error message, it may be because your request mapping template structure doesn't match the Amazon DynamoDB ......
Read more >2 Server Error Message Reference - MySQL :: Developer Zone
Message : Unknown column '%s' in '%s' ... Message: Undefined CONDITION: %s ... The named object is incorrect for the type of operation...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hello, same issue using this tutorial http://docs.graphene-python.org/projects/sqlalchemy/en/latest/tutorial/ sorry if off-topic
I’m not exactly sure what the root issue is, but I think this is due to saving state between runs. localStorage coerces everything to a String before saving it, so setting
undefined
results in getting"undefined"
.