{"errors": [ {"message": "Forbidden."} ]}
-
Hi,
I’m trying to solve an issue on setup with the following (anonymised) debug message:
Debug Messages Preparing request data Request headers: Array( [User-Agent] => wordpress-sparkpost [Content-Type] => application/json [Authorization] => xxxx************************************) Request body: {"recipients":[{"address":{"email":"[email protected]","name":""}}],"content":{"from":{"email":"[email protected]","name":"WordPress"},"subject":"SparkPost email test","headers":{"Date":"Wed, 30 Mar 2016 23:38:41 +0000","Message-ID":"<[email protected]>","X-Mailer":"PHPMailer 5.2.14 (https:\/\/github.com\/PHPMailer\/PHPMailer)"},"html":"<h3>Hurray!!<\/h3><p>You've got mail! <br\/><br> Regards,<br\/><a href=\"https:\/\/www.sparkpost.com\">SparkPost<\/a> WordPress plugin<\/p>"},"options":{"open_tracking":true,"click_tracking":true}} Making HTTP POST request to https://api.sparkpost.com/api/v1/transmissions Response received Response headers: Array( [cache-control] => no-cache, no-store [content-encoding] => gzip [content-type] => application/json [date] => Wed, 30 Mar 2016 23:38:41 GMT [server] => msys-http [content-length] => 60 [connection] => Close) Response body: {"errors": [ {"message": "Forbidden."} ]} Error in transmission
API key has full permissions & everything is “ready to send” on the Sparkpost dashboard.
Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘{"errors": [ {"message": "Forbidden."} ]}’ is closed to new replies.