Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
I have seen the issue with the JSON format when Rank Math is active. However, I tried disabling and re-activating Rank Math again and it seems the issue has gone away. The JSON format is now valid.
Unfortunately, I wasn’t able to discover the cause of the issue so can you please try clearing your website and browser cache on your end and check if the issue is resolved on your end?
Hope that helps and please do not hesitate to let us know if you need my assistance with anything else.
Can you please help me out with JSON:(
No the problem is still
This problem is only being faced in this project itself . Similarly other wordpress website data is also fetched which comes io proper format lets take a look:
Other website data : https://crazytechtricks.com/wp-json/wp/v2/posts
Data of website we are getting error : https://thepurvai.com/wp-json/wp/v2/posts
Did you found the difference?
Can anyone please help me???
Hello,
Apologies for the delay as we prioritize older tickets, and whenever you post a reply here, your ticket is getting bumped to the top.
The issue is with the variation of the URL.
If you visit https://www.thepurvai.com/wp-json/wp/v2/posts
, the JSON is correct but if you visit this variation: https://thepurvai.com/wp-json/wp/v2/posts
, it doesn’t load the correct format.

Can you please try clearing your website caches and check again?
Also, get in touch with your web host and ask them to set at least the following values:
PHP Memory Limit: 1024M
Max input time: 600
PHP time limit: 240
PHP max input variables: 1000
Let us know if that improves the situation.
We really look forward to hearing back from you. Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.