My browser console throws errors with status code 400 when it requests URLs like the below ones, when editing a custom post: https://www.example.com/wp-json/wp/v2/activity?context=view&per_page=20&orderby=count&order=desc&_fields=id%2Cname&search=pila&_locale=user
Sorry, I am not exactly sure what I need to do. Go to the post in edit mode and save again? I did, but that didn't help. Or do I need to change the permalink? The problem is not restricted to one post.
How do I get the code that creates the post type? I used MB Custom Post Types & Custom Taxonomies to create it.