Title: bdbowles's Replies | WordPress.org

---

# bdbowles

  [  ](https://wordpress.org/support/users/bdbowles/)

 *   [Profile](https://wordpress.org/support/users/bdbowles/)
 *   [Topics Started](https://wordpress.org/support/users/bdbowles/topics/)
 *   [Replies Created](https://wordpress.org/support/users/bdbowles/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/bdbowles/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/bdbowles/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/bdbowles/engagements/)
 *   [Favorites](https://wordpress.org/support/users/bdbowles/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [5 hours, 26 minutes ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18908360)
    1. Verified, credentials are as expected.
    2. throws an exception with the message: “Impossible to connect, please check your
       Algolia Application Id.”
    3. used a try/catch, throws the same exception
    4. never get to here
 * So, the Algolia_Search_Client_Factory isn’t getting created as expected?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [6 hours, 29 minutes ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18908273)
 * [@tw2113](https://wordpress.org/support/users/tw2113/) here is the response from
   Algolia support:
 *     ```wp-block-code
       Thanks for sending over those details. Based on the information you provided, the fact that the curl request succeeds against the Algolia API strongly suggests that:•	the Application ID is valid,•	the API key is valid,•	and the Algolia platform is reachable from your environment. Given that, the issue appears more likely related to the integration layer itself, specifically:•	how the WordPress plugin is validating credentials,•	how the SDK exception is being handled,•	or a compatibility issue between the plugin and the runtime environment. One thing that stands out is the environment combination:•	WP Search with Algolia 2.11.3•	PHP 8.4.11•	Algolia PHP client 3.4.2 At this stage, the most useful next step would likely be for the plugin maintainers to inspect:•	the exact request being made during assert_valid_credentials,•	whether any lower-level SDK exception is being suppressed and replaced with the generic “Impossible to connect” message,•	and whether the plugin has been validated against PHP 8.4 specifically.I also wanted to note that the PHP client version you mentioned, algolia/algoliasearch-client-php 3.4.2,  is the latest release of the v3 client line and remains within our supported window under Algolia’s support policy. However The latest stable version of the Algolia PHP API Client is 4.43.0, released in May 2026. You should not need to provide a standalone reproduction script right now, especially given your internal restrictions. For reference:https://www.algolia.com/policies/supporthttps://www.algolia.com/doc/libraries/sdk If the plugin maintainers are able to capture the underlying SDK exception, request debug logs, or HTTP response details, feel free to share those with us and we’ll be happy to investigate further from the API clientside.
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [2 days, 11 hours ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18905831)
 * [@tw2113](https://wordpress.org/support/users/tw2113/), can you please provide
   the Algolia PHP SDK version the plugin is using? I am talking to a rep from Algolia
   and they needed it for troubleshooting.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [6 days, 6 hours ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18903118)
 * I figured as much. I’ll let you know what Algolia says. Thanks again for all 
   your help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [6 days, 8 hours ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18902996)
 * It’s failing in the code below, in class-algolia-admin-page-settings.php. I can
   do a curl request with the admin API key and App ID and get results. I’ll contact
   Algolia. I really appreciate your help in narrowing down the issue.
 *     ```wp-block-code
       try {		    Algolia_API::assert_valid_credentials($settings->get_application_id(), $value);} catch (Exception $exception) {	$valid_credentials = false;	add_settings_error(		$this->option_group,		'login_exception',		$exception->getMessage()	);}
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [6 days, 10 hours ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18902907)
 * Also, just to give you as much info as possible, I noticed that my Admin API 
   Key is not listed under “All API Keys”, which seemed odd to me. Is this expected?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [6 days, 10 hours ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18902884)
 * No, I don’t believe there are any customization to configurations. I just put
   error logs between the last conditional and the last return statement of that
   file and it accurately logged my app ID and my API Key when I attempted to save
   changes. Perhaps I’m missing a better way to verify.
   For clarity, after the conditional
   block starting with `if (!empty($custom_config) && is_array($custom_config))`
   and before the final return statement in the file I put:`error_log('Creating 
   Algolia Search Client with App ID: ' . $app_id);error_log('Creating Algolia Search
   Client with API Key: ' . $api_key);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Search with Algolia] Impossible to Connect](https://wordpress.org/support/topic/impossible-to-connect-2/)
 *  Thread Starter [bdbowles](https://wordpress.org/support/users/bdbowles/)
 * (@bdbowles)
 * [1 week ago](https://wordpress.org/support/topic/impossible-to-connect-2/#post-18901804)
 * Thank you for your prompt reply.
 * For the search API key the restrictions are: search, listIndexes, settings & 
   browse.

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