Title: &quot;error&quot;: &quot;invalid_client&quot;
Last modified: August 31, 2016

---

# "error": "invalid_client"

 *  [neildferguson](https://wordpress.org/support/users/neildferguson/)
 * (@neildferguson)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-invalid_client-3/)
 * Hi , I have followed thee instructions to the letter, [https://wp-oauth.com/knowledge-base/using-postman-and-wp-rest-api/](https://wp-oauth.com/knowledge-base/using-postman-and-wp-rest-api/)
   and i am getting an error as follows:
 * {
    “error”: “invalid_client”, “error_description”: “Client credentials were not
   found in the headers or body” }
 * Any advice appreciated.
 * thanks
 * [https://wordpress.org/plugins/oauth2-provider/](https://wordpress.org/plugins/oauth2-provider/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Justin Greer](https://wordpress.org/support/users/justingreerbbi/)
 * (@justingreerbbi)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-invalid_client-3/#post-7103410)
 * [@neildferguson](https://wordpress.org/support/users/neildferguson/)
 * This is commonly an issues if you are using CGI to run PHP. CGI does not allow
   auth headers to pass correctly and results in this error most of the time. You
   can either send the header information in the body request or add
 *     ```
       RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
       ```
   
 * to your .htaccess file. If you are still having issues, please let me know and
   we can dig a bit deeper into what is happening. If it comes to it, you may be
   able to provide a generic config export of your POSTMAN and I can have a look.(
   Please put dummy data in the URL, client id and client secret before posting 
   in publicly.)
 *  Thread Starter [neildferguson](https://wordpress.org/support/users/neildferguson/)
 * (@neildferguson)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/error-invalid_client-3/#post-7103599)
 * Thanks Justin
 * I will give that a go and report back any further issues

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘"error": "invalid_client"’ is closed to new replies.

 * ![](https://ps.w.org/oauth2-provider/assets/icon-256x256.gif?rev=2603051)
 * [WP OAuth Server (OAuth Authentication)](https://wordpress.org/plugins/oauth2-provider/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/oauth2-provider/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/oauth2-provider/)
 * [Active Topics](https://wordpress.org/support/plugin/oauth2-provider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/oauth2-provider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/oauth2-provider/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)

 * 2 replies
 * 2 participants
 * Last reply from: [neildferguson](https://wordpress.org/support/users/neildferguson/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/error-invalid_client-3/#post-7103599)
 * Status: not resolved