Closed asadsid95 closed 11 months ago
Error when sending info to sendGrid
ERROR: ResponseError: Bad Request
at eval (webpack-internal:///(rsc)/./node_modules/@sendgrid/client/src/classes/client.js:110:39)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
response: {
server: 'nginx',
date: 'Wed, 29 Nov 2023 21:42:03 GMT',
'content-type': 'application/json',
'content-length': '185',
connection: 'close',
'access-control-allow-origin': 'https://sendgrid.api-docs.io',
'access-control-allow-methods': 'POST',
'access-control-allow-headers': 'Authorization, Content-Type, On-behalf-of, x-sg-elas-acl',
'access-control-max-age': '600',
'strict-transport-security': 'max-age=600; includeSubDomains'
},
body: { errors: [Array] }
}
}
User's entered info (name, email, message) should be used to send an email to my email address