Skip to content
This repository has been archived by the owner on Jan 17, 2025. It is now read-only.

object-write fails for Regional or Single Site buckets #33

Open
van-ibm opened this issue Aug 21, 2018 · 2 comments
Open

object-write fails for Regional or Single Site buckets #33

van-ibm opened this issue Aug 21, 2018 · 2 comments

Comments

@van-ibm
Copy link

van-ibm commented Aug 21, 2018

Trying to do a first-time upload to a bucket that is either Regional or Single Site resiliency produces the following error.

"message":"The specified key does not exist."

I think it may have its origin in this reported issue: IBM/ibm-cos-sdk-js#26. I've asked for clarification. Depending on the outcome, it may require changes to the package's code.

@van-ibm
Copy link
Author

van-ibm commented Aug 22, 2018

Bit of user error; however, if the intent of using the package is to get away from having to write COS code, I expect someone else will make the same mistake. If the cos-sdk team creates a better error message, then it should pass through to the function.

But I think it could be called out better in the readme that the default is to the US-Geo Cross Region. For those creating Regional or Site Specfic buckets, set endpoint to one of the listed endpoints in Object Storage documentation.

@guedes
Copy link

guedes commented Jan 25, 2019

Just for someone looking for this, I was using a US Cross Region Endpoints, BUT when I changed to some of US Regional Endpoints it works. I'm using this link as reference: https://console.bluemix.net/docs/services/cloud-object-storage/basics/endpoints.html#select-regions-and-endpoints

I was using https://s3.dal.us.cloud-object-storage.appdomain.cloud but the correct was
https://s3.us-south.cloud-object-storage.appdomain.cloud.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants