For the complete documentation index, see llms.txt. This page is also available as Markdown.

AMOUNT_PRECISION_UNSUPPORTED

An amount has more decimal places than the asset supports.

422 Validation Error · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/amount-precision-unsupported",
  "title": "Validation Error",
  "status": 422,
  "code": "AMOUNT_PRECISION_UNSUPPORTED",
  "detail": "Human-readable explanation.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

An amount has more decimal places than the asset supports.

How to fix it

Round to the asset's decimals (7 for classic Stellar assets like USDC).