Closed AAUU-Ansari closed 1 year ago
Can you provide a copy of the request?
postData('http://127.0.0.1:8000/api/ledger/balance/query',
{
"code": "310",
"currency": "USD",
//"domain": "CORP",
'amount':"5000"
}).then((data) => {
console.log(data); // JSON data parsed by data.json()
call
});
I'm unable to reproduce this. Can you verify that you're running Ledger 1.10.0? I'll keep looking for a possible cause.
Closing this. Feel free to respond and I'll reopen it.
"abivia/ledger": "^1.10", i am using latest version but still facing a balance issue
Still no luck trying to reproduce the problem here. Your request works as expected in our test environment.
After giving code and uuid still return this error errors : [["Request requires an account code or uuid."], "Bad request.",…] 0: ["Request requires an account code or uuid."] 1:"Bad request." 2:"Request requires an account code or uuid." time:"2023-02-24T03:35:34.008077Z"