Skip to content

Copying Object in GCS #10758

Open
Open
@Praveen019283

Description

@Praveen019283

I am trying to copy object(image) using GoogleApi.Storage.V1.Api.Objects.storage_objects_copy from one bucket to another
Getting error : Unsupported content with type: application/octet-stream

I tried to change the contentType from application/octet-stream to image/jpeg. It was successful.
When i query object by using GoogleApi.Storage.V1.Api.Objects.storage_objects_get, i can verify about content Type being image/jpeg.

Still when i try to copy object, it throws above error..

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p3Desirable enhancement or fix. May not be included in next release.type: questionRequest for information or clarification. Not an issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions