tlofreso / bulletin

0 stars 1 forks source link

OpenAI Unsupported filetype / mimetype #12

Open mfgarvin opened 6 months ago

mfgarvin commented 6 months ago

Stemming from info_extract.py:43

Error in GitHub Actions - openai.BadRequestError: Error code: 400 - {'error': {'message': 'Failed to index file: Unsupported file file-tFiVBt35bty0KgRF07lDToFL type: application/octet-stream error_code: unhandled_mimetype', 'type': 'invalid_request_error', 'param': None, 'code': None}}

With certain bulletins, something happens to the download or with the saving of the file, causing this error to be thrown. See the Masstime-extractor log for more details.