Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ErrorResponse

The error object Notion responds when an API request is invalid.

Example :

{
  "errorId": "19656943-xxxx-xxxx-xxxx-748b998ef017",
  "name": "UnauthorizedError",
  "message": "Must be authenticated.",
  "status": "ExpiredToken"
}

Hierarchy

  • ErrorResponse

Index

Properties

Properties

errorId

errorId: UUID

message

message: string

name

name: string

Optional status

status: undefined | string

Generated using TypeDoc