Skip to content

gcs_copy_object returns 503 error #180

@TJLSmith0831

Description

@TJLSmith0831

Attempting to use gcs_copy_object and it returns a 503 error. Every other function works smoothly and I'm on googleCloudStorageR version 0.7.0.9000. Here are the inputs:

gcs_copy_object(
        source_object         = "XXXX/XXXX_log.json",
        destination_object  = "XXXX/XXXX_log_temp.json",
        source_bucket        = "model-logs",
        destination_bucket = "model-logs"
    )

This is the exact console output:

Request failed [503]. Retrying in 1 seconds...
Request failed [503]. Retrying in 1.3 seconds...
ℹ 2023-08-07 12:19:51 > Request Status Code:  503
ℹ 2023-08-07 12:19:52 > Trying again:  1  of  5
ℹ 2023-08-07 12:19:54 > Trying again:  2  of  5
ℹ 2023-08-07 12:19:58 > Trying again:  3  of  5
ℹ 2023-08-07 12:20:07 > Trying again:  4  of  5
ℹ 2023-08-07 12:20:24 > Trying again:  5  of  5
ℹ 2023-08-07 12:20:56 > All attempts failed.
Error in abort_http(status_code, error) : 
  http_503 We encountered an internal error. Please try again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions