[wp-trac] [WordPress Trac] #64917: WP 7.0 Connectors: unclear error message

WordPress Trac noreply at wordpress.org
Fri Mar 20 19:21:56 UTC 2026


#64917: WP 7.0 Connectors: unclear error message
--------------------------+-----------------------------
 Reporter:  ecairol       |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  AI            |    Version:
 Severity:  normal        |   Keywords:
  Focuses:  ui-copy       |
--------------------------+-----------------------------
 The error message for the lack of Connectors is too technical and does not
 provide a clear path for what the user should do.

 After adding an Anthropic API Key from the Connectors page, I created a
 new Post and tried to generate an image. I got the error:


 {{{
 RequestAuthenticationInterface instance not set. Make sure you use the
 AiClient class for all requests.
 }}}


 The error is gone after adding an API key for OpenAI, which does support
 image generation.

 However, it should be clear to the user what the problem is and what the
 next steps are.


 == Steps to Reproduce

 1. On WordPress 7.0, confirm you don't have a Connector for OpenAI (or any
 other image generation model)
 2. Create a New Post and insert an Image. Click on `Generate Image`

 **Expected result**
 An easy-to-understand error of what the problem is. Ideally with
 instructions to check the Connectors.

 **Actual result**
 The message: `RequestAuthenticationInterface instance not set. Make sure
 you use the AiClient class for all requests.`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/64917>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list