Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Communicating With API from Postman #8

Open
iChr0niX opened this issue Jan 27, 2023 · 2 comments
Open

Error Communicating With API from Postman #8

iChr0niX opened this issue Jan 27, 2023 · 2 comments

Comments

@iChr0niX
Copy link

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

@jusasiiv
Copy link
Collaborator

Hi.

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

@ARK4579
Copy link

ARK4579 commented Apr 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@ARK4579 @iChr0niX @jusasiiv and others