I’m using AWS S3 to store large mp4 files (between 200MB - 1GB) and I want to stream them on Cloudflare. If I upload the file directly to CF, I have no problem. However, when I try to upload via a link I get the following error:
{
"result": null,
"success": false,
"errors": [
{
"code": 10010,
"message": "Invalid URL"
}
],
"messages": [
{
"code": 10010,
"message": "Performed a HTTP HEAD and HTTP GET range request, could not determine the size of the file. Please make sure your origin supports HEAD or GET range requests."
}
]
}
I’ve tested my command with a test file of about 12MB in the same directory and it works fine so I know there isn’t an issue with the path. Is there a way to maybe fake the content length or bypass this check? The issue seems to be specific to large files.