You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
When attempting to add an additional template (after having already added, and used, the first/recommended), after filling out the "Title" and "URL" then clicking on "Submit", you are brought back to the 'Templates' page and a toast pops up with the error: "Internal Server Error: undefined" and nothing is added.
To Reproduce
Steps to reproduce the behavior:
Go to 'Templates'
Click on 'the add(+) button'
Enter information into the 'Title' and 'URL' fields
Click 'Submit'
Error message occurs and nothing is added
Expected behavior
A clear and concise description of what you expected to happen.
Go to 'Templates'
Click on 'the add(+) button'
Enter information into the 'Title' and 'URL' fields
Click 'Submit'
You are brought back to the templates page and now see the the new template
Describe the bug
A clear and concise description of what the bug is.
When attempting to add an additional template (after having already added, and used, the first/recommended), after filling out the "Title" and "URL" then clicking on "Submit", you are brought back to the 'Templates' page and a toast pops up with the error: "Internal Server Error: undefined" and nothing is added.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
https://imgur.com/a/RdgkJw5
Portainer Logs
Paste logs here
` ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 390, in run_asgi
File "/usr/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in call
File "/usr/lib/python3.8/site-packages/fastapi/applications.py", line 199, in call
File "/usr/lib/python3.8/site-packages/starlette/applications.py", line 111, in call
File "/usr/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in call
File "/usr/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in call
File "/usr/lib/python3.8/site-packages/starlette/exceptions.py", line 82, in call
File "/usr/lib/python3.8/site-packages/starlette/exceptions.py", line 71, in call
File "/usr/lib/python3.8/site-packages/starlette/routing.py", line 566, in call
File "/usr/lib/python3.8/site-packages/starlette/routing.py", line 227, in handle
File "/usr/lib/python3.8/site-packages/starlette/routing.py", line 41, in app
File "/usr/lib/python3.8/site-packages/fastapi/routing.py", line 201, in app
File "/usr/lib/python3.8/site-packages/fastapi/routing.py", line 150, in run_endpoint_function
File "/usr/lib/python3.8/site-packages/starlette/concurrency.py", line 34, in run_in_threadpool
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
File "/./api/routers/templates.py", line 61, in add_template
File "/./api/db/crud/templates.py", line 107, in add_template
KeyError: 'title'
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/uvicorn/protocols/http/httptools_impl.py", line 390, in run_asgi
File "/usr/lib/python3.8/site-packages/uvicorn/middleware/proxy_headers.py", line 45, in call
File "/usr/lib/python3.8/site-packages/fastapi/applications.py", line 199, in call
File "/usr/lib/python3.8/site-packages/starlette/applications.py", line 111, in call
File "/usr/lib/python3.8/site-packages/starlette/middleware/errors.py", line 181, in call
File "/usr/lib/python3.8/site-packages/starlette/middleware/errors.py", line 159, in call
`
The text was updated successfully, but these errors were encountered: