Replies: 4 comments 3 replies
-
Please make sure you don't have extra spaces or other characters in your USER_ID varaible. |
Beta Was this translation helpful? Give feedback.
-
Closing this question as it is inactive and too specific for the topic starter. |
Beta Was this translation helpful? Give feedback.
-
It is pertaining to your header. Either try not including a header variable and let EmailJS do that for you or explicitly define it: headers = { 'Content-Type': "application/json" } Note: |
Beta Was this translation helpful? Give feedback.
-
I am using email js for my form submission in React, and I got this message: "The Public Key is invalid. To find this ID, visit https://dashboard.emailjs.com/admin/account, "but I am sure that I copied the public key correctly. Here is my code. What am I doing wrong? Any help would be appreciated.
I was able to

console.log
my public key, which is in.env
file. Here's my file structure:Beta Was this translation helpful? Give feedback.
All reactions