Forexample
Some of my users get an error message saying “An error occurred: You are not permitted to view the requested resource.”
Whenever they try to post someonthing without choosing any category,
so i want to direct them to choose a category.
Is there a wayt o modify this message ??
AI-generated summary
Zee wants to modify the error message “An error occurred: You are not permitted to view the requested resource” that appears when users try to post without choosing a category. The goal is to direct users to choose a category.
Don suggested setting up a pre-filled category using the default composer category site setting. However, Zee replied that this is not the desired solution.
Arkshine pointed out that the error message can be changed in Admin → Customize → Text. Zee confirmed that the desired error message should alert users to choose a category, but the current error message is generic and confusing.
Arkshine offered to help investigate the issue if Zee shares the forum URL. Don suggested that the issue might be related to a trust level restricted default composer category, and provided a link to a relevant topic.
Lilly recommended ensuring that the Discourse version is up-to-date (3.1.1 or 3.2.0beta2-dev).
Hello ![]()
It’s possible to setup a prefilled category. When users open composer this category will be selected by default.
default composer category site setting.
Hi Don
thanks for quick response but i want to display a different message
any body have any solution the whole idea behind this is to alert my users to choose a category and the screen shot you showed above is perfect example @Arkshine.
But my forum is giving geberal irrelevent error which is confusing for users
Would it be okay to share your forum URL? You can also send it in a PM if you prefer.
I can’t determine why you are experiencing permission (or similar) issues in this context. ![]()
Hi @Zee
Also, make sure you are on the latest stable or beta versions of Discourse 3.1.1 or 3.2.0beta2-dev.


