Invoice creation with the /ext/addinvoice endpoint fails.
Payload:
{
"amt" : 21,
"memo" : "test"
}
Response:
{
"detail": "Failed to create invoice"
}
General connection works, the API seems to accept requests — testing this I came across another unexpected problem: The code looks like there is a fallback for memo, but if omitted the API returns:
{
"detail": "1 validation error for Request\nbody -> memo\n field required (type=value_error.missing)"
}
Invoice creation with the
/ext/addinvoice
endpoint fails.Payload:
Response:
General connection works, the API seems to accept requests — testing this I came across another unexpected problem: The code looks like there is a fallback for
memo
, but if omitted the API returns:Using LNbits v0.10.6 on Umbrel.