/cards not returning a valid response #8

Closed
opened 2025-10-13 16:44:55 +00:00 by eric · 0 comments
Owner

The /cards endpoint is returning the following error:

ERROR:app:Exception on /cards [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 920, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 939, in finalize_request
    response = self.make_response(rv)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1212, in make_response
    raise TypeError(
TypeError: The view function for 'mine.cards_get' did not return a valid response. The function either returned None or ended without a return statement.
ERROR:app:Exception on /cards [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 920, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 939, in finalize_request
    response = self.make_response(rv)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1212, in make_response
    raise TypeError(
TypeError: The view function for 'mine.cards_get' did not return a valid response. The function either returned None or ended without a return statement.
ERROR:app:Exception on /cards [GET]
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1511, in wsgi_app
    response = self.full_dispatch_request()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 920, in full_dispatch_request
    return self.finalize_request(rv)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 939, in finalize_request
    response = self.make_response(rv)
               ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1212, in make_response
    raise TypeError(
TypeError: The view function for 'mine.cards_get' did not return a valid response. The function either returned None or ended without a return statement.
The /cards endpoint is returning the following error: ``` ERROR:app:Exception on /cards [GET] Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1511, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 920, in full_dispatch_request return self.finalize_request(rv) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 939, in finalize_request response = self.make_response(rv) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1212, in make_response raise TypeError( TypeError: The view function for 'mine.cards_get' did not return a valid response. The function either returned None or ended without a return statement. ERROR:app:Exception on /cards [GET] Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1511, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 920, in full_dispatch_request return self.finalize_request(rv) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 939, in finalize_request response = self.make_response(rv) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1212, in make_response raise TypeError( TypeError: The view function for 'mine.cards_get' did not return a valid response. The function either returned None or ended without a return statement. ERROR:app:Exception on /cards [GET] Traceback (most recent call last): File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1511, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 920, in full_dispatch_request return self.finalize_request(rv) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 939, in finalize_request response = self.make_response(rv) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/flask/app.py", line 1212, in make_response raise TypeError( TypeError: The view function for 'mine.cards_get' did not return a valid response. The function either returned None or ended without a return statement. ```
eric added this to the Beta Testing milestone 2025-10-13 16:44:55 +00:00
eric referenced this issue from a commit 2025-10-13 17:10:21 +00:00
eric closed this issue 2025-10-27 20:37:26 +00:00
eric added this to the Server project 2025-10-27 20:37:36 +00:00
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: WikiDeck/wikideck#8
No description provided.