• Resolved wpshushu

    (@wpshushu)


    Since yesterday, my site started showing:

    Code: 400, Message: Bad Request, Body: {“errors”:[{“message”:”The to array is required for all personalization objects, and must have at least one email object with a valid email address.”,”field”:”personalizations.1.to”,”help”:”https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.personalizations.to”}]}

    Session transaction:

    Code: 400, Message: Bad Request, Body: {"errors":[{"message":"The to array is required for all personalization objects, and must have at least one email object with a valid email address.","field":"personalizations.1.to","help":"https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/errors.html#message.personalizations.to"}]}
    
    --Raw message follows--
    
    Array
    (
        [from] => Array
            (
                [email] => ****@newtimeshair.com
                [name] => New Times Hair
            )
    
        [personalizations] => Array
            (
                [0] => Array
                    (
                        [to] => Array
                            (
                                [0] => Array
                                    (
                                        [email] => ****@newtimeshair.com
                                        [name] => 
                                    )
    
                            )
    
                    )
    
                [1] => Array
                    (
                        [cc] => Array
                            (
                                [0] => Array
                                    (
                                        [email] => ****@newtimeshair.com
                                        [name] => 
                                    )
    
                            )
    
                    )
    
            )
    
        [subject] => Quote Request #263301
        [content] => Array
            (

Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Code 400’ is closed to new replies.