{% load static %} Error Rendering Schema

Error

{{ data }}
{% if debug is True %}

Additional Information

Note: You are seeing this message because DEBUG==True.

Seeing this page is usually a configuration error: are your DEFAULT_AUTHENTICATION_CLASSES or DEFAULT_PERMISSION_CLASSES being applied unexpectedly?

Your response status code is: {{ response.status_code }}

401 Unauthorized.

403 Forbidden.

Most commonly the intended solution is to disable authentication and permissions when including the docs urls:

   path('docs/', include_docs_urls(title='Your API',
                                    authentication_classes=[],
                                    permission_classes=[])),

Overriding this template

If you wish access to your docs to be authenticated you may override this template at rest_framework/docs/error.html.

The available context is: data the error dict above, request, response and the debug flag.

{% endif %}