I'm using the Vision Api Product Search in the Google CLoud Vision, so i want to access the images in the firebase Storage but now when i'm making request this error occurs "message": "Error opening file: gs://swaepone.appspot.com/bag.jpeg." so how to have read access to the firebase sotrage ?
Assuming this is the service account calling ...check the bucket permissions on Cloud Storage.
PROJECT_ID.appspot.com
is the the relevant GCS bucket, behind "Firebase Storage".
The security rules for Firebase Storage might only consider Firebase Auth users;
you'd have to add this service account with (at least) role "Storage Object Viewer".