Site icon Hip-Hop Website Design and Development

WP relaxation api returns 404 solely when writer param is used

I’ve a multisite wordpress set up on aws linux, working completely advantageous. The WP Relaxation api can also be working precisely because it ought to. Apart from one single case.

/wp-json/wp/v2/posts?writer=<some int>

For all the things else, together with my customized endpoints, and customized params/fields added to the api, it really works completely. However the second i add the writer half, it returns 404 on all websites. eg:

/wp-json/wp/v2/posts?author_exclude=1     //this works
/wp-json/wp/v2/posts?web page=2               // this additionally works
/wp-json/wp/v2/posts?web page=2&writer=abc    // this additionally works and returns invalid writer
/wp-json/wp/v2/posts?web page=2&writer=1      // this returns 404 web page not discovered

From a number of the different related questions, I discovered that this situation may very well be as a consequence of permalinks, however I’m utilizing customized permalinks

sitename/%12 months%/%monthnum%/%day%/%writer%/%class%/%postname%/

I’ve tried altering the permalink to no impact. One other resolution I discovered is to alter all of the deny to permit in htaccess. I’m not well-versed in htaccess, so i’ve not modified it for concern of inflicting some safety points.
As for different associated data, I’m additionally utilizing jwt and disable relaxation api plugin(with solely jwt endpoints enabled).

Any assist could be appreciated, please.