I'm trying to run a Change Trust operation in order to add a trustline, but it throws me a ChangeTrustNotAllowed error which I can't reference in the documentation.

Here's my Transaction Envelope and the Transaction Result.

I attach the error message:

  "type": "https://stellar.org/horizon-errors/transaction_failed",
  "title": "Transaction Failed",
  "status": 400,
  "detail": "The transaction failed when submitted to the stellar network. The `extras.result_codes` field on this response contains further details. Descriptions of each code can be found at: https://www.stellar.org/developers/learn/concepts/list-of-operations.html",
  "instance": "horizon-001a/Fm1q5QnVH4-156771048",
  "extras": {
    "result_codes": {
      "transaction": "tx_failed",
      "operations": [
    "result_xdr": "AAAAAAAAAGT/////AAAAAQAAAAAAAAAG////+wAAAAA="

It looks like you are trying to create a circular trustline, sourceAccount and issuer are the same.

A trustline can only be established from one account to another. Try creating one more account and set up the trustline between them.

  • I would agree, except I get this same error when trying to transfer an asset that is restricted by the issuing account with the AuthRequiredFlag. Jan 25 '18 at 3:00
  • 1
    @Derek True, the error may be caused by the account authentication settings. However, in this particular case Brian provided the link to the transaction envelope. If you check the XDR, you'll see that the problem was caused by the "circular" trustline.
    – Orbit Lens
    Jan 25 '18 at 3:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.