This broke passing pdf urls with queries, like AWS presigned urls https:// my-bucket.s3.amazonaws /order_file/82137_0.pdf?X-Amz-Region-Set=us-east-1,us-west-1&…. (url redacted because I can’t include url in post)
It worked on feb 23, and since feb 24 I get :
openai.BadRequestError: Error code: 400 - {‘error’: {‘message’: ‘The file type you uploaded is not supported. Supported extensions: art, bat, brf, c, cls, css, csv, diff, doc, docx, dot, eml, es, h, hs, htm, html, ics, ifb, java, js, json, keynote, ksh, ltx, mail, markdown, md, mht, mhtml, mjs, nws, odt, pages, patch, pdf, pl, pm, pot, ppa, pps, ppt, pptx, pwz, py, rst, rtf, scala, sh, shtml, srt, sty, svg, svgz, tex, text, txt, vcf, vtt, wiz, xla, xlb, xlc, xlm, xls, xlsx, xlt, xlw, xml, yaml, yml’, ‘type’: ‘invalid_request_error’, ‘param’: ‘input’, ‘code’: ‘unsupported_file’}}
The file is a PDF, with pdf mime type
I have the errors on all files in production, and never had that before feb 24
I temporarily fixed it by using the file.create API and passing a file_id, but I prefered passing a URL