Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Problem accessing a private bucket from a function

edited May 30, 2024 2:23PM in OCI - General 3 comments

Hello!

I am reaching out to request technical assistance with an issue I encounter when trying to access a private bucket from a function.

Problem Description:
When attempting to execute the oci-objectstorage-get-object-python function, I receive the following error:
{"content": "Failed: Either the bucket named 'test-mm' does not exist in the namespace 'test-ns' or you are not authorized to access it"}

I changed the privacy of the 'test-mm' bucket to public and was able to access it without any issues, but when I change it to private, it throws the error.


I have followed the steps indicated in this documentation https://docs.oracle.com/enus/iaas/Content/Functions/Tasks/functionscreatingfromsampleusingcodeeditor.htm

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!