Object Index / Definition

You are viewing an old version of the API
Error

Represents an error encountered during a request to the Connect API

See Handling errors for more information.

Properties

Name Description
category
string

Required

The high-level category for the error. See ErrorCategory for possible values.

code
string

Required

The specific code of the error. See ErrorCode for possible values

detail
string

A human-readable description of the error for debugging purposes.

field
string

The name of the field provided in the original request (if any) that the error pertains to.

Share Feedback

Thanks for visiting the Square API documentation. What's on your mind?