# stupid fastapi error handling drove me crazy for some hours, updating this asap
# the handler is in the main file