confluentinc / confluentinc/vscode
Creating a topic fails with unclear error message if topic name does not match rules
- Dominant language
- TypeScript
- Stars
- 34
- Forks
- 17
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 8
Description
### Code of Conduct
- [x] I agree to follow this project's Code of Conduct
### On what operating system are you seeing the problem?
_No response_
### VS Code version
When creating a new topic, for example with a space in the name, the error message is not very clear. It reads: "Payload Error. Invalid topic name." but the rules for topic names are not evident anywhere.
### Version of Confluent extension
_No response_
### To Reproduce
1. Click "Create Topic"
2. Give invalid name
3. Accept defaults
### Current vs. Expected behavior
I expected either:
A) the help text to provide the rules for what topic names look like
B) the error message to clarify the rules or specify the invalid character
### Relevant log output
```shell
```
### Which area(s) are affected? (Select all that apply)
Topics
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.