POST method not supported error during article submission in OJS 3.5.3

While submitting an article in my journal (OJS 3.5.3), I am getting this error:

“The POST method is not supported for route jts/api/v1/submissions/42/publications/42. Supported methods: GET, HEAD, PUT, DELETE.”

This prevents users from submitting or editing submissions. I expect the submission process to work normally without API method errors.

I am using OJS 3.5.3

Journal link: https://www.wtsf.org/ojs/index.php/jts/ Please register and try submitting an article for testing.

@asmecher Please help

Hi, this does not seems like a code level issue but probably something related to the server/infrastructure issue . the given api path e.g. api/v1/submissions/{submissionId}/publications/{publicationId} does not support POST but only PUT/GET/DELETE . I can think of few possibilities as

  1. Apache/Nginx misconfiguration — some server configs or .htaccess rules strip or downgrade HTTP methods
  2. WAF/security module (mod_security, Cloudflare) blocking PUT and converting to POST
  3. if you have a reverse proxy set up , then perhaps that is not not forwarding the HTTP method correctly

please first check if there is any .htaccess, security module, CF or reverse proxy set up and see if those some some rules define that explicitly strip the PUT/PATCH/DELETE to POST

Regards
Dev Team

Still not working. I’ve applied all the suggested fixes (checked .htaccess, server config, security modules, and proxy settings), but the issue persists.

Hi @Engr_Muhammad_Sulama

api/v1/submissions/{submissionId}/publications/{publicationId}

this endpoint doesn’t suppot POST request,it’s “Get a publication“ endpoint,only allow Get request,not Submitting Article endpoint.

Thank you! Let me do this.