Replies: 4 comments 3 replies
0 replies
|
Please make sure you don't have extra spaces or other characters in your USER_ID varaible. |
3 replies
|
Closing this question as it is inactive and too specific for the topic starter. |
0 replies
|
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: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.logmy public key, which is in.envfile. Here's my file structure:All reactions