Skip to main content
This guide helps you diagnose and resolve common issues with the Stellar Disbursement Platform (SDP).

Quick Reference


Payments

Payment Stuck in “Pending”

Payments can get stuck in “Pending” status for several reasons. Work through these checks in order.

1. Check TSS Service Health

The Transaction Submission Service (TSS) must be running and reachable.
If TSS is down or unreachable, restart it and monitor the logs for errors.

2. Verify Distribution Account Funds

The distribution account must hold enough of the asset being sent to cover the payment amount, plus enough XLM for transaction fees and the account’s base reserve. If your organization has more than one, check the account named in the payment’s Account column. Use Stellar Expert or the Stellar CLI to check the balance.

3. Validate Channel Accounts

Channel accounts may become invalid after testnet resets. Look for errors like this in your logs:
Diagnosis: This error means either the destination account or the channel account doesn’t exist on the network. Check both using Stellar Expert. Solution:
The receiver’s account hasn’t been created on the Stellar network. The account must be funded with the minimum balance (currently 1 XLM on mainnet) before it can receive payments.

Payment Failed with Operation Error

When a payment fails, the Status History shows a Horizon error with operation codes that explain why the transaction was rejected. Payment Failed Error

Reading the Error

Look for the operation codes at the end of the error message:
The operation code (e.g., op_no_trust) tells you exactly what went wrong.

Common Operation Codes

Trustlines explainedOn Stellar, accounts must explicitly “trust” an asset before receiving it. This is a security feature—it prevents spam tokens. The receiver needs to add a trustline for the specific asset (like EURC) using their wallet or a Stellar tool.Accounts added from the dashboard get their trustlines automatically. If that step fails and the account is active with no trustline for the asset, add it from the Trustlines panel on the Distribution Accounts page.

Example: op_no_trust

Diagnosis: The receiver account exists but hasn’t added a trustline for the asset you’re trying to send (in this case, EURC). Solution: The receiver must add a trustline for the asset before the payment can succeed. Once they’ve done so, use the Retry button in the dashboard to resubmit the payment. For a complete list of operation result codes, see the Stellar documentation.

Slow Payments Due to Insufficient Channel Accounts

If payments are processing slower than expected, you may not have enough channel accounts. Channel accounts allow the SDP to submit multiple transactions in parallel. Without enough of them, transactions queue up and process sequentially.

Symptoms

  • Large disbursements take longer than expected to complete
  • Payments sit in “Pending” status longer than usual before being submitted

1. Check Current Channel Account Count

View how many channel accounts are currently configured:

2. Add More Channel Accounts

Use the ensure command to increase the number of channel accounts. This command is idempotent—it only creates new accounts if you have fewer than the specified number:
How many channel accounts do you need?The optimal number depends on your disbursement volume:
  • Low volume (< 100 payments/day): 2–5 accounts
  • Normal volume (> 100 payments/day): 5–10 accounts
Start with a conservative number and increase if you notice slow processing times.

3. Verify TSS Configuration

The TSS service also has a configuration for how many channel accounts it should utilize. Check that your --num-channel-accounts flag (or NUM_CHANNEL_ACCOUNTS environment variable) matches or is less than the number of accounts you created:
If this value is higher than the actual number of channel accounts available, TSS will only use what exists.

Receiver Communications

Issues with invitations, OTPs, and other messages sent to receivers.

Receiver Not Receiving the Invitation

When you trigger a disbursement targeting an unregistered receiver (via email, SMS, or WhatsApp), they should receive an invitation link to register. If they haven’t received it, work through these checks.

1. Verify Scheduler Configuration

The invitation job runs on a schedule controlled by an environment variable:
Check: Is this set to a reasonable interval (10–60 seconds)? If it’s set too high or missing, invitations may be significantly delayed.

  1. Check SDP Logs for Submission Failures

The SDP logs will show whether the message was sent and if the messaging provider accepted or rejected it.
Common provider issues:
If you’re testing, check spam/junk folders first—especially for email invitations.

3. Verify Receiver Contact Info

Double-check that the receiver’s contact information (email, phone number) in the disbursement file is:
  • Correctly formatted (e.g., phone numbers include country code)
  • Valid and reachable
  • Not a duplicate that was already processed

Receiver Not Receiving OTP During Registration

During registration, receivers enter the contact details (phone number or email) that the payer used when submitting the disbursement. The SDP sends an OTP to verify ownership of that contact method.

1. Check for Mismatched Contact Info (Most Common)

The most frequent cause is the receiver entering a different email or phone number than what the payer submitted—often without realizing it. How to verify: Check the receiver_registration_attempts table, which logs attempts from contacts that couldn’t be matched to any receiver in the system.
If you see the receiver’s attempted contact info here, it means:
  • They entered something different from what’s on file
  • You may need to coordinate with the receiver to confirm which contact info is correct
  • If the payer made an error, you may need to update the receiver’s contact info or create a new disbursement

2. Check for Provider Issues

If the contact info matches but the OTP still isn’t arriving, the issue is likely with the messaging provider. See Check SDP Logs for Submission Failures above for common provider issues and how to diagnose them.

Receiver Registration

Receiver Verification Locked Out

During SEP-24 registration, receivers must confirm their verification value (e.g., date of birth or PIN) to prove their identity. If a receiver enters the wrong value too many times, the system locks them out and displays:
This is not related to OTP—it specifically means the receiver exceeded the maximum allowed attempts (15) for entering their verification value (PIN, date of birth, etc.). A common cause is receivers confusing the verification field with the OTP, entering the wrong type of value repeatedly.

1. Identify the Locked Receiver

Query the receiver_verifications table to find locked accounts:

  1. Confirm the Receiver’s Identity

Cross-reference the receiver ID to make sure you’re resetting the right account:

3. Reset the Verification Attempts

Once you’ve confirmed the correct receiver, reset their attempt counter:
After resetting, the receiver can try again. You may need to walk them through the registration flow to ensure they enter the correct verification value (not the OTP) in the right field.

Channel Accounts

Recreating Channel Accounts

After a testnet reset, your channel accounts no longer exist on-chain but are still referenced in the database. You need to clean up invalid accounts and create new ones. Run these commands inside the TSS container:
The ensure command is idempotent—it only creates accounts if you have fewer than the specified number. Running ensure 10 when you already have 10 valid accounts does nothing.

Still Stuck?

If you’ve worked through the relevant sections and the issue persists:
  1. Collect logs from all relevant services (SDP, TSS, Anchor Platform)
  2. Note the exact error message and when it started occurring
  3. Check for recent changes to configuration, environment, or network (e.g., testnet reset)
Contact us either by opening an issue on our Backend GitHub repository or Frontend GitHub repository with the details above and the version of SDP you’re running. We’ll help you troubleshoot further! We’re also available on Discord in the #bulk-disbursements channel.