https://prefect.io logo
Title
n

Naga Sravika Bodapati

06/27/2022, 12:38 PM
seeing this error: raise exceptions.from_http_status(response.status_code, message, response=response) google.api_core.exceptions.BadRequest: 400 PUT https://storage.googleapis.com/upload/storage/v1/b/uat-pvr-data-prefect-gcs/o?uploadType=resumable&amp;upload_id=ADPycdtTsfUe4rNUbqxBn59GhS-wvYByENDQ_Sx0uT8u1ekPASue0EnpTYTZws2ULMcX3_rkBzdvnxf9ySecwbAhZzOK205Y4YOT: Invalid request. There were 22287 byte(s) in the request body. There should have been 22839 byte(s) (starting at offset 0 and ending at offset 22838) according to the Content-Range header.: ('Request failed with status code', 400, 'Expected one of', <HTTPStatus.OK: 200>, <HTTPStatus.PERMANENT_REDIRECT: 308>) when trying to use script as storage with GCS
k

Kevin Kho

06/27/2022, 3:42 PM
I personally haven’t seen this before. Is there a chance for some kind of syntax error?
n

Naga Sravika Bodapati

06/29/2022, 12:42 PM
no
not able to work with pipelines that were built on python 3.7 on vms with python 3.8 😞 😞
downgrading the python version is messing up the whole system.
k

Kevin Kho

06/29/2022, 4:23 PM
this is not a prefect log though. it’s a bit hard to know what happened. if you could provide a minimal example script where you see this, that would help a lot