404 graphiql route
See original GitHub issueI’m getting a 404 when going to mysite/graphiql
. It is appending a slash to the url after not finding the route.
Here are my urls:
urlpatterns = [
path("admin/", admin.site.urls),
path("graphql", ProtectedGraphQLView.as_view()),
path("graphiql", GraphQLView.as_view(graphiql=True)),
]
If I changed graphiql
to anything else it works.
urlpatterns = [
path("admin/", admin.site.urls),
path("graphql", ProtectedGraphQLView.as_view()),
path("test", GraphQLView.as_view(graphiql=True)),
]
Please let me know if you need any other information.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Spring boot GraphQL showing 404 - Stack Overflow
I am new to GraphQL. However, after watching couple of videos and GraphQL blogs I decided to give it a try but I...
Read more >GraphQL Spring Boot - Up and Running with ... - Dan Vega
In this tutorial you are going to learn how to get up and running with Spring for GraphQL. At the time of this...
Read more >GraphQL Best Practices
A query language for your API — GraphQL provides a complete description of the data in your API, gives clients the power to...
Read more >Spring for GraphQL Documentation
GraphQlWebSocketHandler can be exposed as a WebSocket endpoint by declaring a SimpleUrlHandlerMapping bean and using it to map the handler to a URL...
Read more >Understanding GraphQL Error Handling Mechanisms in ...
It also aims to bring an in-depth understanding of how the Graphql Java ... “path”: a key describing the absolute path from the...
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
Yep I’m not sure what is going on sorry. I’m going to close this issue now since I’m pretty confident this is not an issue with Graphene-Django. Do report back if you find out the problem though!
@brandonmbanks I’ve tried that branch and it works fine for me:
It’s very odd but I don’t think there is anything wrong with Graphene-Django. It has to be something to do with your setup (and something that is not in the code).