classifai
classifai copied to clipboard
Getting "rest_taxonomy_invalid"(404) error randomly in rest API call by editor.
Describe the bug
Found a strange bug, Rest API calls initiated by Gutenberg to get taxonomy terms are failing with 404 (rest_taxonomy_invalid
and rest_no_route
) randomly. This happens randomly sometimes it happens sometimes it does not. I have attached a screenshot to give more idea of the error.
Note: During checking on existing issues to check if someone has faced this before, I found this comment by @peterwilsoncc which mentions a similar issue.
Steps to Reproduce
- Setup ClassifAI and Language processing.
- Enable all 4 taxonomy and select Watson taxonomy as taxonomy.
- Go to the edit post page of any post.
- Open developer tools (F12) to see network calls and console errors.
- You will find 404 errors on API calls. (This happens randomly so, you may have to reload multiple time to get this)
Screenshots, screen recording, code snippet
Environment information
No response
WordPress information
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct