pydantic.error_wrappers.ValidationError: 1 validation error for ItemBase response value is not a valid dict (type=type_error.dict) code example
Example: response value is not a valid dict
#add this in response model/schema
class Config:
orm_mode=True