blockchain icon indicating copy to clipboard operation
blockchain copied to clipboard

/transactions/new TypeError: argument of type 'NoneType' is not iterable

Open throwawat99 opened this issue 5 years ago • 7 comments

I keep getting the error in the title when using Postman, any ideas? I have followed and checked the instructions

throwawat99 avatar Jun 07 '20 19:06 throwawat99

I got the same problem. anyone can help me? plz

jordge-bot avatar Jun 11 '20 14:06 jordge-bot

Maybe, you used a GET request where there should be a POST request?

sam-b0t avatar Jul 05 '20 13:07 sam-b0t

Perhaps this will work, in Postman, click the choice "Body", choose "RAW", and at the right side of the choice "GraphQL", change the "Text" to "JSON"

MS-668 avatar Aug 07 '20 19:08 MS-668

It still isn't working

dishaparekh213 avatar Sep 21 '20 11:09 dishaparekh213

You guys must have been writing the body part for the POST request wrong in the postman. Try entering this inside the body section and then send the POST request

{
    "sender": "4a28aaa35a7f44d6aabbc6e55964688d",
    "receiver": "Home-Address",
    "amount": 2
}

aayushsaini avatar Apr 04 '21 13:04 aayushsaini

LoL Hey sorry about that but I wasn’t paying no attention and start kidding about but that’s funny.

On Sun, Apr 4, 2021 at 8:31 AM Aayush Saini @.***> wrote:

You guys must have been writing the body part for the POST request wrong in the postman. Try entering this inside the body section and then send the POST request

{ "sender": "4a28aaa35a7f44d6aabbc6e55964688d", "receiver": "Home-Address", "amount": 2 }

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/dvf/blockchain/issues/181#issuecomment-813033672, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMPM5DUJ4JLKE7L6DNP67IDTHBS4BANCNFSM4NXRWCJQ .

-- Impossible

rick12334 avatar Apr 04 '21 13:04 rick12334

Perhaps this will work, in Postman, click the choice "Body", choose "RAW", and at the right side of the choice "GraphQL", change the "Text" to "JSON"

This is the correct solution.

RemmyLee avatar Sep 26 '21 20:09 RemmyLee