Customer gets 403 Error When Accessing Instance
Problem
User tries to access their CDF instance by clicking on “View instance” in pantheon UI but they get a 403 error, even though they have Project Editor or Owner role assigned via IAM. Currently root cause is unknown, so please follow these steps for debugging!
Debugging steps
Verify their permissions
Ask for screenshot of the IAM permission for the user(s).
Ask customer to try testIAMPolicy to verify they have the proper permissions:
Click on “try it”
Under Request parameters, put "projects/<fill in project here>/locations/<instance location>/instances/<fill in CDF instance name here>" for the resource.
Put "datafusion.instances.get" permission in the request body (see example https://screenshot.googleplex.com/6Qksfkc33VzaA3M).
Click “Execute”.
Customer should see a 200 response with “datafusion.instances.get” under permissions.
Check if the issue is specific to Data Fusion or also with other resources
If the user is also having same error for AI Notebooks, problem could be with inverting proxy.
Try accessing instance in an incognito window
When they do this, specify that they need to make sure they don’t have any other incognito windows open at the same time or else they will see the 403 error.
Try deleting cookie for the CDF url
Related articles