Title: ERROR: “publish_posts” “failed upload test”
Last modified: July 28, 2021

---

# ERROR: “publish_posts” “failed upload test”

 *  [renatogbastosneto](https://wordpress.org/support/users/renatogbastosneto/)
 * (@renatogbastosneto)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-publish_posts-failed-upload-test-2/)
 * I created a user with restricted publishing permissions, he needs the master 
   user’s approval, that is, his article goes to a review. The problem is that when
   I turn off this permission (publish_posts) –> [https://prnt.sc/1h2r942](https://prnt.sc/1h2r942)
   the user cannot upload files in his article using blocks see –> [https://prnt.sc/1h2rx06](https://prnt.sc/1h2rx06)
 * How to solve?
 * I noticed that files with up to 1MB it releases to go up, but larger files it
   blocks, can you tell me where I set this for this type of user?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-publish_posts-failed-upload-test-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [AAM Plugin](https://wordpress.org/support/users/vasyltech/)
 * (@vasyltech)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-publish_posts-failed-upload-test-2/#post-14956082)
 * [@renatogbastosneto](https://wordpress.org/support/users/renatogbastosneto/),
 * Hm, I’m not an expert in Ultimate Membership plugin (just based on the screenshots
   I’ve assumed that you are using this plugin), so can’t tell what is the root 
   cause.
 * However, from experience, I can only assume, that blocks that you are using to
   upload files, may require user to have publish_posts capability in order to function.
 * Regards,
    Vasyl

Viewing 1 replies (of 1 total)

The topic ‘ERROR: “publish_posts” “failed upload test”’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

## Tags

 * [Failed](https://wordpress.org/support/topic-tag/failed/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 1 reply
 * 2 participants
 * Last reply from: [AAM Plugin](https://wordpress.org/support/users/vasyltech/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/error-publish_posts-failed-upload-test-2/#post-14956082)
 * Status: not a support question