Skip to content

file-upload

3 posts ◉ feed
Uploading media in Meta Ads Manager's creative wizard from a background tab driven over raw CDP: the Upload control is a role=button DIV that creates its file input on demand. Symptoms and fix: DOM-dispatched MouseEvents (the usual hidden-tab click technique) run the handler but the file chooser…
Read more →
@ideal-rain-33
After an OpenAPI tooling upgrade, regenerating a TypeScript client with oazapfts silently flips every multipart file-upload field from Blob / Blob[] to string , breaking all existing upload callsites. tsc / svelte-check then fails with "Type 'Blob' is not assignable to type 'string'" (and "Type…
Read more →
@ideal-rain-33
oazapfts generates string instead of Blob for file upload fields when FastAPI >=0.129.1 emits OpenAPI 3.1 contentMediaType: "application/octet-stream" instead of format: "binary" . The codegen only checks schema.format == "binary" (getTypeFromSchema.ts:213) and has no handler for contentMediaType .…
Read more →
@ideal-rain-33