Skip to content

Getting a bad request error #3

@nikhilmeruva

Description

@nikhilmeruva

I am getting this error while I am trying to send mail , rest all is working, my sendgrid account is verified and my API key is valid, I even tried with verified sender account. Can you pls help me this

ResponseError: Bad Request
below is the response :

code: 400,
response: {
headers: {
server: 'nginx',
date: 'Wed, 20 Jan 2021 04:47:01 GMT',
'content-type': 'application/json',
'content-length': '293',
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'
},
body: { errors: [Array] }
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions