[Bug]: LNbank throws error on invoice creation
See original GitHub issueWhat is your BTCPay version?
BTCPay v1.7.3.0 LNbank 1.3.8.0
How did you deploy BTCPay Server?
Extended manual setup. Using external LND.
What happened?
LNbank throws error on invoice creation
How did you encounter this bug?
When creating an invoice in LNbank, both through the BTCPay Server web app and through Zeus, I hit the following issue:
Invoice creation failed: Exception of type 'BTCPayServer.JsonHttpException' was thrown.
Revelant log output included.
Relevant log output
Dec 24 23:46:07 45-79-192-236 run.sh[12490]: System.OverflowException: Value was either too large or too small for an Int64.
Dec 24 23:46:07 45-79-192-236 run.sh[12490]: at System.Decimal.ToInt64(Decimal d)
Dec 24 23:46:07 45-79-192-236 run.sh[12490]: at NBitcoin.Money.Coins(Decimal coins)
Dec 24 23:46:07 45-79-192-236 run.sh[12490]: at BTCPayServer.Services.Invoices.PaymentMethod.Calculate(Func`2 paymentPredicate)
Dec 24 23:46:07 45-79-192-236 run.sh[12490]: at BTCPayServer.HostedServices.InvoiceWatcher.GetNearestClearedPayment(PaymentMethodDictionary allPaymentMethods, PaymentMethodAccounting& accounting) in /home/bitcoin/src/btcpayserver/BTCPayServer/HostedServices/InvoiceWatcher.cs:line 213
Dec 24 23:46:07 45-79-192-236 run.sh[12490]: at BTCPayServer.HostedServices.InvoiceWatcher.UpdateInvoice(UpdateInvoiceContext context)
Dec 24 23:46:07 45-79-192-236 run.sh[12490]: at BTCPayServer.HostedServices.InvoiceWatcher.StartLoop(CancellationToken cancellation) in /home/bitcoin/src/btcpayserver/BTCPayServer/HostedServices/InvoiceWatcher.cs:line 320
What browser do you use?
No response
Additional information
No response
Are you sure this is a bug report?
- I confirm this is a bug report
Issue Analytics
- State:
- Created 9 months ago
- Reactions:1
- Comments:18 (15 by maintainers)
Top Results From Across the Web
LNURL does not work with c-lightning v0.11.0 · Issue #3720
This error is thrown in ln-service (cc @alexbosworth), so it might an issue on the payer wallet side, not on the payee (BTCPay...
Read more >I am getting an error while creating my invoice. What should I ...
I am getting an error while creating my invoice. What should I do? Answer. Try searching the error in the help center. There...
Read more >Resolving invoice amount creating errors - QuickBooks - Intuit
Resolving invoice amount creating errors · Go to the Sales tab and select All sales. · Locate and double-click the payment in the...
Read more >Invoice Summary Generation Errors
Go to Customization > Scripting > Script Deployments. Expand the Filters area if the filters are not displayed. In the Status filter, select...
Read more >Q. I am getting an exceeds open value invoice error
This invoice error means the invoice you submitted for processing is over the value of the PO. If you have multiple line items...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m basically using this guide https://docs.btcpayserver.org/Deployment/ManualDeploymentExtended/
I don’t have the internal LN node enabled. I’m using a connection string.
@dennisreimann you finally cracked it!