Skip to main content

Usage

Available on the Para client in @getpara/web-sdk, @getpara/react-sdk, @getpara/react-sdk-lite, @getpara/server-sdk and @getpara/react-native-wallet, through @getpara/core-sdk.
Signature

Access and Portal behavior

Signed-in approver in a stage the case has reached. The method reads the case first with getAccessibleApprovalCase, so it fails when that read fails, including for the user who started the request unless the case is a signature collection. It returns the URL and does not open it. Your app opens it, and the approver continues in Portal.

Errors

A failed request rejects with an error that carries status, code and message. A few refusals have their own code, such as POLICY_DENIED, INITIATOR_CANNOT_REVIEW and APPROVAL_CASES_AFFECTED. Most arrive as plain text, with code set to ERR_BAD_REQUEST for a 4xx status and the server message in message, so branch on message for those. Rows marked Client throw a plain Error with only a message, before any request is sent, so call the method inside try with await to catch every error. Permissions errors lists every error.