Title: API Key Issue for Editors
Last modified: August 24, 2026

---

# API Key Issue for Editors

 *  [Brian Haug](https://wordpress.org/support/users/brianhaugacumednet/)
 * (@brianhaugacumednet)
 * [1 week, 5 days ago](https://wordpress.org/support/topic/api-key-issue-for-editors/)
 * When a user is only assigned to the Editor role, they get the following when 
   trying to edit a post containing a PDF Embed block.
 * `Please insert a free api key to start using this block. Only admin can manage
   PDF Embed api key.`
 * They can view posts without issue. If I assign the user to the Administrator 
   role, they can edit posts with PDF Embed blocks without issue. The API Key is
   added and administrators have no problem adding or editing PDF Embed blocks.
 * Server: IIS
   PHP Version: 8.3.29WordPress: 7.0.4PDF Embed: 0.6.2

Viewing 1 replies (of 1 total)

 *  Thread Starter [Brian Haug](https://wordpress.org/support/users/brianhaugacumednet/)
 * (@brianhaugacumednet)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/api-key-issue-for-editors/#post-19004999)
 * Looks like all roles but administrators are blocked from editing or creating 
   PDF Embed blocks. I think the following line of code in index.js is the issue
   as I believe only administrator roles can access site options this way.
   `[g] 
   = (0, x.useEntityProp)("root", "site", "pdf_embed")`

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fapi-key-issue-for-editors%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/pdf-embed/assets/icon-256x256.png?rev=2667026)
 * [Pdf Embed](https://wordpress.org/plugins/pdf-embed/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-embed/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-embed/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-embed/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-embed/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-embed/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [Brian Haug](https://wordpress.org/support/users/brianhaugacumednet/)
 * Last activity: [1 week, 2 days ago](https://wordpress.org/support/topic/api-key-issue-for-editors/#post-19004999)
 * Status: not resolved