Uploading of files to Google Cloud Storage throwing errors #2939
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
Steps to reproduce
The following code throws an error, indicating that the endpoint is not supporting the upload type "resumable"
Error 400: Unsupported upload type: resumable, badRequest
I tracked down the bug to this code snippet of the corresponding library
It seems to me, that there is currently no possible way to upload files to the Google Cloud Search using the provided api, since the upload in a single chunk is also not working as expected. The same code is executed, but the response body is empty, even though the code expects it to be not empty (as far as I understand).
Sadly the little documentation on these GCS Endpoints is not very helpful, because it is nowhere described what query parameters are available and how to use them (e.g. "uploadType")
The text was updated successfully, but these errors were encountered: