Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

API Docs - 500 - Internal Server Error #18

Open
adthomson opened this issue Feb 8, 2021 · 0 comments
Open

API Docs - 500 - Internal Server Error #18

adthomson opened this issue Feb 8, 2021 · 0 comments

Comments

@adthomson
Copy link

On a fresh build with both Viper Framework and Viper Web running, I can't seem to access the API docs through the UI. When navigating to /v3/api/docs I get 500 Internal Server Error. Below is the error being thrown up by the API:

`The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/home/user/.local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/user/.local/lib/python3.6/site-packages/django/core/handlers/base.py", line 145, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/home/user/.local/lib/python3.6/site-packages/django/core/handlers/base.py", line 143, in _get_response
response = response.render()
File "/home/user/.local/lib/python3.6/site-packages/django/template/response.py", line 106, in render
self.content = self.rendered_content
File "/home/user/.local/lib/python3.6/site-packages/rest_framework/response.py", line 70, in rendered_content
ret = renderer.render(self.data, accepted_media_type, context)
File "/home/user/.local/lib/python3.6/site-packages/rest_framework_swagger/renderers.py", line 58, in render
renderer_context
File "/home/user/.local/lib/python3.6/site-packages/django/shortcuts.py", line 36, in render
content = loader.render_to_string(template_name, context, request, using=using)
File "/home/user/.local/lib/python3.6/site-packages/django/template/loader.py", line 62, in render_to_string
return template.render(context, request)
File "/home/user/.local/lib/python3.6/site-packages/django/template/backends/django.py", line 63, in render
reraise(exc, self.backend)
File "/home/user/.local/lib/python3.6/site-packages/django/template/backends/django.py", line 84, in reraise
raise new from exc
django.template.exceptions.TemplateDoesNotExist: rest_framework_swagger/base.html`

Any ideas?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant