Title: Post featured image json_user_cannot_read error
Last modified: August 30, 2016

---

# Post featured image json_user_cannot_read error

 *  [Corjen](https://wordpress.org/support/users/corjen/)
 * (@corjen)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/post-featured-image-json_user_cannot_read-error/)
 * Hi,
 * For some posts i’m getting an error in the post object under featured image. 
   On some random posts, the featured image key gives an error_data and errors object
   with json_user_cannot_read and a 401 status.
 * Lot’s of other posts just work fine. Any idea how to fix this?
 * Thanks!
 * Corjen
 * [https://wordpress.org/plugins/json-rest-api/](https://wordpress.org/plugins/json-rest-api/)

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

 *  [Dhruv](https://wordpress.org/support/users/dhruvlbb/)
 * (@dhruvlbb)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/post-featured-image-json_user_cannot_read-error/#post-6485963)
 * Getting the same error, would love a solution to this!
 *  [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/post-featured-image-json_user_cannot_read-error/#post-6485984)
 * I’m seeing the error as well. The code we use to pull the featured image has 
   been in production for over six months without an issue. I found that the issue
   is only happening on one post so I dug in a little deeper to see what was going
   on.
 * I can’t seem to find the issue causing “json_user_cannot_read” to be returned
   in the result set but I did get it to work.
 * Since I could only reproduce this on one post, I located the featured image in
   the media library, pasted the URL into a browser and rendered the image to make
   sure it was working properly. Then, I saved a copy of it locally, re-uploaded
   it to the media library and associated the *new* image as the featured images
   to the same post. After that, the JSON API returned the proper asset information.
 * I don’t see any difference between these two images but maybe there is some underlying
   meta that is causing the issue.
 * I wish I had a better answer for this but at least it may help diagnose the root
   of the problem.
 *  [Jer Clarke](https://wordpress.org/support/users/jeremyclarke/)
 * (@jeremyclarke)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/post-featured-image-json_user_cannot_read-error/#post-6486007)
 * Here’s the answer: [https://github.com/WP-API/WP-API/issues/1526](https://github.com/WP-API/WP-API/issues/1526)
 * It’s (IMHO) a bug that ONLY affects posts where the featured image ISNT attached
   to the post being fetched. So if you re-use uploads as featured images the second/
   third post to use it will have issues.
 * Re-uploading predictably fixes it because the new upload is attached to the right
   post.

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

The topic ‘Post featured image json_user_cannot_read error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-rest-api_2e3641.svg)
 * [WP REST API (WP API)](https://wordpress.org/plugins/json-rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-rest-api/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [Jer Clarke](https://wordpress.org/support/users/jeremyclarke/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/post-featured-image-json_user_cannot_read-error/#post-6486007)
 * Status: not resolved