Transcoding Error Improvements #441
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
python-api-core/google/api_core/path_template.py
Lines 319 to 322 in fe617c2
The transcoding error above should be improved to provide more helpful information when there is a transcoding issue. For example, given the code below which is missing the
instance_group
parameter, the error message should say something along the lines ofmissing required parameter instance_group
instead of the cryptic errorRequest {} does not match any URL path template in available HttpRule's ['/compute/v1/projects/{project}/zones/{zone}/instanceGroups/{instance_group}/listInstances']
. In addition, it's not desirable to echo the parameters in the error message.The text was updated successfully, but these errors were encountered: