Vapi.Std.Errors.ArgumentLocations

Vapi.Std.Errors.ArgumentLocations
Vapi.Std.Errors.ArgumentLocations

The Vapi.Std.Errors.ArgumentLocations schema describes which part(s) of the input to the operation caused the error.

Some types of errors are caused by the value of one of the inputs to the operation, possibly due to an interaction with other inputs to the operation.

This schema is intended to be used as the payload to identify those inputs when the operation reports errors like Vapi.Std.Errors.InvalidArgument or Vapi.Std.Errors.NotFound. See Vapi.Std.Errors.Error.data.

JSON Example
{
    "primary": "string",
    "secondary": [
        "string"
    ]
}
string
primary
Required

String describing the location of the input that triggered the error.

array of string
secondary
Required

List (possibly empty) of strings describing the locations of other inputs that caused the the primary input to trigger the error.