ParseError 400

When does this happen?

The QR code string you submitted could not be parsed. The string may be malformed, truncated, or use an encoding that Borderli doesn't recognize.

Example response

{
  "_tag": "ParseError",
  "type": "ParseError",
  "message": "Failed to parse QR code: invalid checksum",
  "docs_url": "https://docs.borderli.dev/errors/ParseError",
  "details": {
    "position": 42,
    "expected": "EMVCo TLV"
  }
}

What to do

Verify that the qr_string field contains the complete, unmodified QR code payload. If the QR code was scanned from an image, ensure the scan captured the full content.

← Back to Error Handling