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

STELLAR_TRUSTLINE_INVALID_FORMAT

trustline (code, issuer) could not be resolved to a Stellar asset contract.

422 Validation Error · request handling

Example

{
  "type": "https://docs.trustlesswork.com/trustless-work/v2-en/api-rest/errors/stellar-trustline-invalid-format",
  "title": "Validation Error",
  "status": 422,
  "code": "STELLAR_TRUSTLINE_INVALID_FORMAT",
  "detail": "trustline (code, issuer) could not be resolved to a Stellar asset contract.",
  "instance": "/…",
  "traceId": "…"
}

When it happens

The trustline address is not a valid contract address (C…).

How to fix it

Send the asset's Soroban contract address.