jmac11 / googlecloudsql

Automatically exported from code.google.com/p/googlecloudsql
0 stars 0 forks source link

specifying bogus instance name gives misleading error message #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you run a backup with a bogus instance name, you get the message "The client 
is not authorized to make this request." … which is not true. You should get 
an error like "invalid instance name"

Razvan commented that "This is intentional because we don't want to leak the 
identities of the instances a user doesn't have control to." which is not 
logical. If I have valid credentials, and I specify an instance name I don't 
have access to, it is an invalid instance for me no matter what. There is zero 
leak of info for providing the correct feedback.

Using cloud sql admin v1beta3.

Original issue reported on code.google.com by rhd...@gmail.com on 14 Apr 2014 at 4:03

GoogleCodeExporter commented 9 years ago
Thank you for bringing this to our attention. I have forwarded your report to 
the engineering team and any questions they have will be posted here. Further 
status updates will be posted here as well.

Original comment by pay...@google.com on 12 Apr 2015 at 9:00