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
I got an internal server error while passing invalid input to this endpoint
2023-11-01T17:33:43.255+00:00Copy[ERROR] AttributeError: 'DataProductSchema' object has no attribute 'error_traceback'Traceback (most recent call last): File "/var/task/create_schema.py", line 179, in handler error_msg = f"schema for {table_name} has failed validation with the following error: {schema.error_traceback}"
[ERROR] AttributeError: 'DataProductSchema' object has no attribute 'error_traceback' Traceback (most recent call last): File "/var/task/create_schema.py", line 179, in handler error_msg = f"schema for {table_name} has failed validation with the following error: {schema.error_traceback}"
To Reproduce
I sent a request to the create schema endpoint but forgot to wrap the JSON in a "schema" object.
Describe the bug.
I got an internal server error while passing invalid input to this endpoint
To Reproduce
I sent a request to the create schema endpoint but forgot to wrap the JSON in a "schema" object.
i.e.
instead of
{"schema": {...}}
Expected Behaviour
A 400 response with the validation error
Additional context
No response
The text was updated successfully, but these errors were encountered: