We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ResponseError: Unauthorized at Request._callback (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules@sendgrid\client\src\classes\client.js:124:25) at Request.self.callback (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules\request\request.js:185:22) at Request.emit (node:events:390:28) at Request. (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules\request\request.js:1154:10) at Request.emit (node:events:390:28) at IncomingMessage. (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules\request\request.js:1076:12) at Object.onceWrapper (node:events:509:28) at IncomingMessage.emit (node:events:402:35) at endReadableNT (node:internal/streams/readable:1343:12) at processTicksAndRejections (node:internal/process/task_queues:83:21) { code: 401, response: { headers: { server: 'nginx', date: 'Wed, 18 Jan 2023 23:59:51 GMT', 'content-type': 'application/json', 'content-length': '116', 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', 'x-no-cors-reason': 'https://sendgrid.com/docs/Classroom/Basics/API/cors.html', 'strict-transport-security': 'max-age=600; includeSubDomains' }, body: { errors: [Array] } } }
The text was updated successfully, but these errors were encountered:
I have printed the api_key in my terminal and it's actually the same as what I have in my sendGrid account
Sorry, something went wrong.
@talented-vicky not from sendgrid or nodemailer, but this could be a permissions issue with the apikey user
No branches or pull requests
ResponseError: Unauthorized
at Request._callback (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules@sendgrid\client\src\classes\client.js:124:25)
at Request.self.callback (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules\request\request.js:185:22)
at Request.emit (node:events:390:28)
at Request. (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules\request\request.js:1154:10)
at Request.emit (node:events:390:28)
at IncomingMessage. (C:\Users\HP\Documents\personal\node_js\shopping\shopping-app\node_modules\request\request.js:1076:12)
at Object.onceWrapper (node:events:509:28)
at IncomingMessage.emit (node:events:402:35)
at endReadableNT (node:internal/streams/readable:1343:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
code: 401,
response: {
headers: {
server: 'nginx',
date: 'Wed, 18 Jan 2023 23:59:51 GMT',
'content-type': 'application/json',
'content-length': '116',
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',
'x-no-cors-reason': 'https://sendgrid.com/docs/Classroom/Basics/API/cors.html',
'strict-transport-security': 'max-age=600; includeSubDomains'
},
body: { errors: [Array] }
}
}
The text was updated successfully, but these errors were encountered: