WhatsAppApiErrorFields
Defined in: src/errors.ts:66
Fields describing a Graph API error response.
Properties
Section titled “Properties”code:
number
Defined in: src/errors.ts:70
Numeric Graph API error code.
details?
Section titled “details?”
optionaldetails?:string
Defined in: src/errors.ts:76
Additional details from the error envelope.
fbtraceId?
Section titled “fbtraceId?”
optionalfbtraceId?:string
Defined in: src/errors.ts:78
Internal trace identifier for Meta support.
httpStatus
Section titled “httpStatus”httpStatus:
number
Defined in: src/errors.ts:68
HTTP status code of the failing response.
raw:
unknown
Defined in: src/errors.ts:80
The raw parsed body (envelope or text) for debugging.
subcode?
Section titled “subcode?”
optionalsubcode?:number
Defined in: src/errors.ts:72
More granular numeric subcode, when present.
optionaltype?:string
Defined in: src/errors.ts:74
Error category, e.g. OAuthException.
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.