Title: Error: Server returned an invalid JSON response.
Last modified: June 4, 2026

---

# Error: Server returned an invalid JSON response.

 *  [nfong](https://wordpress.org/support/users/nfong/)
 * (@nfong)
 * [4 days, 18 hours ago](https://wordpress.org/support/topic/error-server-returned-an-invalid-json-response/)
 * AI Puffer plugin 2.4.38 – WordPress 6.9.4
 * Chatbots – Knowledge –
 * I enable vector, page context.
 * Training data – Website – I select Posts – Hit Add 68 items – it starts to run
   then errors with **Error: Server returned an invalid JSON response.**

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

 *  Plugin Author [senols](https://wordpress.org/support/users/senols/)
 * (@senols)
 * [4 days, 11 hours ago](https://wordpress.org/support/topic/error-server-returned-an-invalid-json-response/#post-18928312)
 * Hi [@nfong](https://wordpress.org/support/users/nfong/),
 * Thanks for the report.
 * “Server returned an invalid JSON response” means the training request started,
   but WordPress returned something other than the expected JSON response. This 
   can happen if the server outputs a PHP error, the request is blocked by a firewall/
   security plugin, the request times out, or one of the selected posts causes an
   indexing error.
 * Could you please help me narrow it down?
 * 1. Which vector provider are you using: OpenAI, Pinecone, Qdrant, or Chroma?
   
   2. Does it work if you select and add only 1 post? 3. If 1 post works, does it
   fail only with larger batches like 68 items? 4. Does it fail at the same item
   each time? 5. Please check your browser DevTools → Network tab when the error
   appears, click the failed `admin-ajax.php` request, and send me:
 * – HTTP status code
    – the `action` value, for example `aipkit_index_selected_wp_content`
   or `aipkit_index_posts_to_vector_store` – the first part of the Response body,
   with any private data/API keys removed
 * 6. Please also check your server/PHP error log around the same time and send 
   any related fatal error or warning.
 *  Thread Starter [nfong](https://wordpress.org/support/users/nfong/)
 * (@nfong)
 * [3 days, 19 hours ago](https://wordpress.org/support/topic/error-server-returned-an-invalid-json-response/#post-18929178)
    1. Open AI
    2. Yes
 * 3.
 * 4. Yes
 * 5. status code 200. I have screen shots of the data, I have a log entry text,
   do not want to post. please give me an address to send it privately.
 *  Plugin Author [senols](https://wordpress.org/support/users/senols/)
 * (@senols)
 * [3 days, 11 hours ago](https://wordpress.org/support/topic/error-server-returned-an-invalid-json-response/#post-18929405)
 * Yes you can send it here support @ aipower dot org
 * or you can go to Contact us section in the plugin and report it as a bug so i
   will take it from there

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-server-returned-an-invalid-json-response%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/gpt3-ai-content-generator/assets/icon-256x256.png?rev=3454929)
 * [AI Puffer – Chat. Create. Automate. (formerly AI Power)](https://wordpress.org/plugins/gpt3-ai-content-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gpt3-ai-content-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gpt3-ai-content-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/gpt3-ai-content-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gpt3-ai-content-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gpt3-ai-content-generator/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [senols](https://wordpress.org/support/users/senols/)
 * Last activity: [3 days, 11 hours ago](https://wordpress.org/support/topic/error-server-returned-an-invalid-json-response/#post-18929405)
 * Status: not resolved