Skip to content

Unknown fields returned from the server break REST transport #780

@vam-google

Description

@vam-google

If a server returns an unknown field in its JSON representation, the REST GAPIC client (for example GCE) breaks the decerialization on the client side. An example of error:

google.protobuf.json_format.ParseError: Message type "google.cloud.compute.v1.Zone" has no field named "supportsPzs". 

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions