I can reproduce this issue on a test site, so it’s a Discourse-wide issue, but when this happens you’re not allowed to post the topic unless you change the category to one you have permission to create in.
Ideally we should update this to fallback to the default category or no category selected.
Thanks for reporting it!