• Resolved Imagebjsnider

    (@bjsnider)


    If I test the configuration of the JWT auth method, adding the status param, in other words posts/?status=publish, draft or whatever, I get this, even if logged as the built-in admin account:

    “code”: “rest_invalid_param”, “message”: “Invalid parameter(s): status”, “data”: { “status”: 400, “params”: { “status”: “Status is forbidden.” }, “details”: { “status”: { “code”: “rest_forbidden_status”, “message”: “Status is forbidden.”, “data”: { “status”: 401 } } } } }

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Imageabhiladdha07

    (@abhiladdha07)

    Hi @bjsnider,

    Thank you for reaching out!

    Our team has investigated the issue and confirmed that the POST API for status=draft/publish functions as expected when protected by the JWT Authentication plugin (you can review this setting in the Protected REST APIs Tab). However, when the API is unprotected, the “invalid param” error occurs. It appears the issue is related to your API protection settings. Please ensure your configuration is set up correctly.

    Should you continue to experience any issues, please let us know.

    Thanks,
    Team miniOrange

    Plugin Support ImageYash

    (@yashyadav247)

    Hello @bjsnider ,

    Since there hasn’t been any response from your side for quite some time, I’ll be marking this thread as resolved for now. If you still need assistance or have any further questions, feel free to reopen the thread or start a new one.

    Thanks,
    Team miniOrange

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Post status forbidden for administrators’ is closed to new replies.