When attempting to update the Google Cloud Platform (GCP) service account key for a Drupal-based developer portal deployed on Google Cloud, I am encounteing an error that prevents connection to Apigee Edge although I have selected Apigee X option. The error, "Failed to connect to Apigee Edge. Error message: PERMISSION_DENIED: Permission 'apigee.organizations.get' denied on resource 'organizations/my-organization' (or it may not exist)," is being thrown everytime I try changing the project-id with new service key.
It was working with my previous project-id and service key, I have given similar permissions for this project as well.
Using Drupal 10 with Apigee Kickstart Developer Portal Theme for Drupal
Attaching screenshots for your reference.