Plane docs
ApiSchemas

OAuthErrorEncoded

One shape from the contract, as it appears on the wire.

Used by connections.authorize, sessions.authorizations

JSON Schema

{
  "type": "object",
  "properties": {
    "_tag": {
      "type": "string",
      "enum": [
        "OAuthError"
      ]
    },
    "connectionId": {
      "$ref": "#/components/schemas/ConnectionId"
    },
    "stage": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "error": {
      "type": "string"
    },
    "status": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "string",
          "enum": [
            "Infinity",
            "-Infinity",
            "NaN"
          ]
        }
      ]
    }
  },
  "required": [
    "_tag",
    "stage",
    "message"
  ],
  "additionalProperties": false
}

On this page