Keep getting HTTP Error code 500 when uploading a file for fine tuning

Hello

Since yesterday I’m getting this error when uploading a valid json file(checked before uploading).

Error code: 500 - {'error': {'message': 'The server had an error processing your request. Sorry about that! You can retry your request, or contact us through our help center at help.openai.com if you keep seeing this error. (Please include the request ID_XXXXX in your email.)', 'type': 'server_error', 'param': None, 'code': None}}

Im using the python backend and it worked for some 50+ files uploaded so far.

client.files.create(
    file=open(json_file, "rb"),
    purpose="fine-tune"
)

The file itself is pretty large - 524 Mb. I’ve read for similar error in the forum appearing last year and it seems the larger the file the bigger the chance to be unable to upload it.
The documentation reveals that the file limit is set to 1 GB

Probably its a system error, but seem unusual to not be mentioned in the status page and is a second day I’m getting this error.

Is there anyone with similar error?

I am experiencing the same except when trying to simply call the GPT-4o API
Not even the code example provided in the docs works for me

## Upload file

post https://api.openai.com/v1/files

Upload a file that can be used across various endpoints. Individual files can be up to 512 MB

Answer above…

1 Like

Hmm, I thought its 1GB.

Thanks!

1 Like