I'm getting an error when I try to send a Lightning payment.

A successful transaction should be finished almost instantly, so you’re not crazy for raising an eyebrow if that doesn’t happen. To know whether your payment failed or is stuck, you can simply look at your balance. If it failed, your balance will be the same as before the payment. If it’s stuck, the amount of the payment will show as deducted from your balance, but won’t be listed as a sent payment.

In either case, the cause is usually a lack of liquidity in channels between your node and the recipient. The best way to get more liquidity is to open more channels with more nodes. The easiest way to do this is to use the "autopilot" feature in your node's settings.

You can learn more about the autopilot feature here: https://support.keys.casa/en/result?utf8=%E2%9C%93&q=autopilot

It’s possible that one of the hops was halted by a power outage, or that particular node fried, but these instances are pretty rare. The best course of action is to wait until the timelock expires and your funds are returned to your node. This can vary, but is usually about 144 blocks, or ~1 day. It’s probably not necessary to reevaluate your connections unless you’re experiencing multiple failed payments. Opening a direct channel with the party you're trying to pay may also solve this issue.

Did this solve your problem?