Plugin Author
senols
(@senols)
Hi @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
(@nfong)
- Open AI
- 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
(@senols)
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