PowerKeys Scripting API
    Preparing search index...

    Interface HttpJsonParseError

    SyntaxError shape exposed when HTTP.RequestJson receives a non-empty body that is not valid JSON.

    interface HttpJsonParseError {
        code: "invalid_json";
        statusCode: number;
        headers: HttpResponseHeaders;
        name: string;
        message: string;
        stack?: string;
    }

    Hierarchy

    • SyntaxError
      • HttpJsonParseError
    Index
    code: "invalid_json"

    Stable invalid_json error code.

    statusCode: number

    HTTP status returned with the invalid JSON body.

    Response headers returned with the invalid JSON body.

    name: string
    message: string
    stack?: string