Package google.rpc

Index

Status

Represents an error encountered while processing an individual flight or market in a request.

When emission estimates cannot be computed for a requested item, the errors field contains one or more Status objects describing why:

  • INVALID_ARGUMENT (code 3): Reports input errors on the requested item, such as missing or invalid airport codes, operating carrier codes, flight numbers, or departure dates. Multiple Status entries may be returned if multiple input fields are invalid.
  • NOT_FOUND (code 5): Indicates that no emission estimates matched the requested flight or market inputs.
Fields
code

int32

The numeric status code corresponding to a google.rpc.Code enum value:

  • 3 (INVALID_ARGUMENT): Input error (for example, a missing or invalid airport or carrier code).
  • 5 (NOT_FOUND): No emission estimates matched the requested inputs.
message

string

A human-readable error message in English describing why emission estimates could not be returned for the requested item.

details[]

Any

Additional structured error details, when available.