Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 400 Bad request #45

Open
CommanderRedYT opened this issue Feb 27, 2021 · 0 comments
Open

Error 400 Bad request #45

CommanderRedYT opened this issue Feb 27, 2021 · 0 comments

Comments

@CommanderRedYT
Copy link

On every file upload I get an error 400. Tried to put some error_log() into the code, but nothing showed up. The error message comes from this:

if ($file->validateChunk()) {
     $file->saveChunk();
} else {
    // error, invalid chunk upload request, retry
    header("HTTP/1.1 400 Bad Request");
    return ;
}

But I don't know why there is an error...
(Using the example-code from the node-js sample (index.html))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant