Skip to content
This repository was archived by the owner on Jun 30, 2026. It is now read-only.
This repository was archived by the owner on Jun 30, 2026. It is now read-only.

Copying Object in GCS #10758

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..

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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