Title: rest api GET request wp-json/wp/v2/posts/id returns 403 error
Last modified: March 22, 2017

---

# rest api GET request wp-json/wp/v2/posts/id returns 403 error

 *  Resolved [jakama](https://wordpress.org/support/users/jakama/)
 * (@jakama)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/rest-api-get-request-wp-jsonwpv2postsid-returns-403-error/)
 * Hello!
 * Any rest api url in the form of “/wp-json/wp/v2/posts/<id>” gives me a 403 on
   this one website.
    Example: [https://mysite.com/wp-json/wp/v2/posts/123](https://mysite.com/wp-json/wp/v2/posts/123)
 * Several weeks ago the request was working.
 * All other rest api urls work fine, like for example:
    [https://mysite.com/wp-json/wp/v2/posts/](https://mysite.com/wp-json/wp/v2/posts/)
 * Even if I switch to twenty-fifteen and if I disable all plugins, the problem 
   persists.
 * Do you know how I could solve this? Several weeks ago the request was working.
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [jakama](https://wordpress.org/support/users/jakama/)
 * (@jakama)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/rest-api-get-request-wp-jsonwpv2postsid-returns-403-error/#post-8949746)
 * The problem was the mod security setting in server. They change it and it wolks
   again.

Viewing 1 replies (of 1 total)

The topic ‘rest api GET request wp-json/wp/v2/posts/id returns 403 error’ is closed
to new replies.

 * ![](https://ps.w.org/rest-api/assets/icon-256x256.png?rev=1346297)
 * [WordPress REST API (Version 2)](https://wordpress.org/plugins/rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-api/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [jakama](https://wordpress.org/support/users/jakama/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/rest-api-get-request-wp-jsonwpv2postsid-returns-403-error/#post-8949746)
 * Status: resolved