Netlify Dev Functions Locally troubleshooting

Hi @mcyouks, welcome to the Community!

Looking at your function, it looks like you are returning the whole response as your returned response body. Note that node-fetch’s response includes other things like status code and other things. You’ll want to return only the payload as your body. In this case, the response.body will have the data you will need. Let me know if that helps.