I am having a lot of trouble using this function, I have implemented 2 other functions without any problem but the third one always generates an error 500 in the browser console.
This is the termial message:
Thanks in advance
I am having a lot of trouble using this function, I have implemented 2 other functions without any problem but the third one always generates an error 500 in the browser console.
This is the termial message:
Thanks in advance
Hey @erianvc
I would check the function’s logs on the Netlify dashboard to see if there is any more error details. Have you had a look there?
@erianvc Ah ok.
Are there any meaningful errors showing up in the terminal where you are running netlify dev
?
hey @erianvc - is your JSON syntax valid? That’s the first thing you’d want to check due to the way things are complaining.
You can validate your JSON here:
argh, so frustrating. glad you figured it out!