Title: {&quot;errors&quot;: [ {&quot;message&quot;: &quot;Forbidden.&quot;} ]}
Last modified: August 31, 2016

---

# {"errors": [ {"message": "Forbidden."} ]}

 *  [indietravel](https://wordpress.org/support/users/indietravel/)
 * (@indietravel)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/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":"x@example.com","name":""}}],"content":{"from":{"email":"y@example.com","name":"WordPress"},"subject":"SparkPost email test","headers":{"Date":"Wed, 30 Mar 2016 23:38:41 +0000","Message-ID":"<a7a2363047c749cf131f8fe6cffbf31e@example.com.com>","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?
 * [https://wordpress.org/plugins/sparkpost/](https://wordpress.org/plugins/sparkpost/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [rajuru](https://wordpress.org/support/users/rajuru/)
 * (@rajuru)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/errors-message-forbidden/#post-7224739)
 * [@indietravel](https://wordpress.org/support/users/indietravel/)
 * Is this issue resolved for you?

Viewing 1 replies (of 1 total)

The topic ‘{"errors": [ {"message": "Forbidden."} ]}’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/sparkpost_763a21.svg)
 * [SparkPost](https://wordpress.org/plugins/sparkpost/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sparkpost/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sparkpost/)
 * [Active Topics](https://wordpress.org/support/plugin/sparkpost/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sparkpost/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sparkpost/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [rajuru](https://wordpress.org/support/users/rajuru/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/errors-message-forbidden/#post-7224739)
 * Status: not resolved