Core ConceptsErrors

Error Handling

Understand and resolve common errors, HTTP codes, and troubleshooting for smooth V3 Custody operations.

{
  "status": "success",
  "data": {
    "transactionId": "tx_123abc",
    "status": "pending"
  }
}

HTTP Status Codes

V3 Custody API returns standard HTTP status codes to indicate the outcome of your requests. Review these responses to diagnose issues quickly.

Always check the code field in error responses for specific guidance. Include it when contacting support.

Common Error Categories

Use these tabs to troubleshoot specific error types in V3 Custody.

MPC signing errors occur during multi-party computation for secure transaction signing.

Verify Key Shares

Ensure all signer key shares are online and synced. Check the dashboard at https://dashboard.example.com/signers.

Retry Signing

curl -X POST https://api.example.com/v1/transactions/sign \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{"transactionId": "tx_123abc"}'

Check Logs

Review signer logs for MPC_TIMEOUT or KEY_SHARE_MISMATCH.

General Troubleshooting Workflow

Follow these steps for any error in V3 Custody.

Capture Full Response

Log the complete API response including headers.

Enable Debug Mode

Set debug: true in your API client config.

Reproduce Minimally

Isolate the request to minimal payload.

Contact Support

Provide error code, timestamp, and request ID.

Logging and Debug Techniques

Capture detailed logs to diagnose issues.

const response = await fetch('https://api.example.com/v1/transactions', {
  headers: { 'Authorization': `Bearer ${YOUR_API_KEY}` }
});
if (!response.ok) {
  const error = await response.json();
  console.error(`Error ${response.status}:`, error);
}

Quick Resolutions

For persistent issues, export logs from https://dashboard.example.com/logs and share with support@v3.finance.