cryptochappy
cryptochappy8mo ago

body is not an object error on Youtube API call

I'm trying to build a simple flow to make an API call to Youtube to get some additional info about the video and channel. When I get it set up and try to test it I get an error message of "body is not an object". The get call isn't even supposed to have a body so not sure what it's talking about or how to fix it. The documentation is pretty light on how to set up the node filter/functions so hoping someone knows what I'm missing here
1 Reply
Gaurav Chadha
Gaurav Chadha8mo ago
Pass the body as empty object: {}. It will work then.