New Topic Create URL is not working for Subcategory

AI-generated summary

We_Prepare reports that the URL for creating a new topic is not working in a subcategory, despite working in the main category. They provide the URL format they’re using, which includes the category name. Bcat suggests using the category ID instead of the name, providing an example URL and linking to documentation. We_Prepare confirms that the ID-based method works, and codinghorror clarifies that using the ID resolves the issue.

Team, I’m trying to give users a link to create a new topic. The functionality works well when user posts inside category. However the same functionality is not working in subcategory:
Here’s the URL I am trying to use:
https://pm3.weprepare.co/new-topic?category=2-product-case-study/Participants-Case-Study-1

Here’s the subcategory Link: https://pm3.weprepare.co/c/2-product-case-study/Participants-Case-Study-1/8

Am I doing something wrong here?

Try it: https://meta.discourse.org/new-topic?title=topic%20title&body=topic%20body&category=howto/faq&tags=email,planned
https://meta.discourse.org/new-topic?title=topic%20title&body=topic%20body&category=howto/faq&tags=email,planned

More: Creating a link to start a new topic with pre-filled information

Still not working. The category ID based generation is working fine, but not the category name.

Here’s the subcategory link in which I want to create a topic:
https://pm3.weprepare.co/c/2-product-case-study/Participants-Case-Study-1

Use the ID, not the name.. thus you have a solution to your problem, yes?