To Reproduce
The issue is that we're sending empty values for everything, and extract_image_block_types doesn't like an empty string.
To fix, we should handle empty strings for this param. Bonus points if we can find a way to remove the "send empty string" defaults in Swagger. Is there a way to configure this in FastAPI?
Describe the bug A user testing out the endpoint at https://api.unstructured.io/general/docs#/default/pipeline_1_general_v0_general_post hit this. Enter your api key and upload a file, the result is a 500 error.
To Reproduce The issue is that we're sending empty values for everything, and
extract_image_block_types
doesn't like an empty string.To fix, we should handle empty strings for this param. Bonus points if we can find a way to remove the "send empty string" defaults in Swagger. Is there a way to configure this in FastAPI?