Custom post type media upload error with custom user role October 8, 2022 by Tarik Billa This is very strange. I have got it working by setting edit_others_posts and edit_private_posts to true!