Hi,
I have deployed a GAE Service in flex environment to a VPC.
The ingress setting for the GAE Service is internal-only.
VPC has one firewall rule
Now, I am trying to access the endpoint of my GAE Service using Service Account Key Json. But I am getting Forbidden Access in response
index.js file (SA Client trying to access GAE Endpoint):
SA Firewall Rule in VPC :
probably a path issue in your line
keyfile: "./keyfile.json" maybe
I checked and console logged the client object. It had all the correct credentials from the keyfile.
also, similar but different?
https://www.googlecloudcommunity.com/gc/AI-ML/cannot-access-documentai-api-from-compute/td-p/515739