Getting 402 error while triggering the error
Hey guys I am trying to trigger an email notification from my node js app and getting this error message
"Request failed with status code 422"
can someone help me figure out where I am going wrong
this is what my code looks like
I have connected sendgrid to novu and the email triggers are working from novu when I am triggering it manually, but not from code
6 Replies
status code 422 means unprocessable entity.
Do you see any error message?
![](https://cdn.answeroverflow.com/1126139986006245406/Screenshot_2023-07-05_at_6.48.07_PM.png)
@._aman
I see you have 0 workflows
Is
testing-workflow
a valid workflow identifier?Yes i am getting this as a testing snippet from the platform
have you triggered any notification yet?
Please check again your API key
In my opinion, your are using api key of other organisation
Have triggered through the app for testing lemme check again