blockonomics / wallet_service

Self hosted bitcoin wallet service

Home Page:https://youtu.be/GpN6B7ca5-I

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error Communicating With API from Postman

iChr0niX opened this issue · comments

Hi,

So im trying to get this working and all has installed fine I was able to generate a wallet and successfully receive payment.

What im struggling with is the following error while trying to connect to the api/send

{
"error": "'NoneType' object has no attribute 'items'"
}

Im a little bit stumped a google search yields 2 results and they are no help.

Thank you

Hi.

Can you paste the error lines from your debug.log if there is any more information. Thanks!

This error can be reproduced if we send a post request without any body.

curl

curl -X POST http://localhost:8000/api/send results in {"error":"'NoneType' object has no attribute 'items'"}

Postman

image

As this is an expected behaviour we can close this issue.