• Resolved sadesades

    (@sadesades)


    Thank you for this great plugin, is there any way we can change the error message or a webhook we can use to change

    {“code”:”rest_cannot_access”,”message”:”DRA: Only authenticated users can access the REST API.”,”data”:{“status”:401}}

    Would like to be able to show a different message than “Only authenticated users can access the REST API”

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Dave McHale

    (@dmchale)

    Hi @sadesades

    Good suggestion! I’ll see what I can do to add a filter in the next release 🙂

    Thread Starter sadesades

    (@sadesades)

    Awesome thanks looking forward for this filter

    Plugin Author Dave McHale

    (@dmchale)

    Hi again @sadesades

    Just wanted to let you know I’ve added a new dra_error_message filter to the upcoming v1.8 plugin version, which I *hope* to have out in the repository later this week.

    Cheers!

    Thread Starter sadesades

    (@sadesades)

    Awesome looking forward for it thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘A way to change the error message’ is closed to new replies.