This error is thrown when API requests return with status 400. Typically this is due to some aspect of the request being incorrect or invalid.

Some examples when this error could occur:

  • While attempting to create an index with no available quota in your project.
  • While upserting records that do not match the dimension of your index
  • While attempting to create an index using an invalid name ("!@#$%")

Hierarchy

Constructors

Properties

cause?: Error

The underlying error, if any.

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void