Misleading error message when user is missing permissions #342
Labels
api: bigquery
Issues related to the BigQuery API.
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Environment details
pandas-gbq
version: 0.17.0Steps to reproduce
You'll get this error:
The actual error is visible in the traceback:
The "NoneType has no attribute" message is misleading and obscures the problem. I believe the error should be reporting the permission issue that is captured in the above block.
Again, this is ultimately a user error due to the wrong permissions being used, but a user will find that out more quickly by getting back the actual error instead of the "NoneType has no attribute" error.
The text was updated successfully, but these errors were encountered: