eolivelli opened a new issue #9220:
URL: https://github.com/apache/pulsar/issues/9220


   **Describe the bug**
   
   When you try to create a topic to a non existant namespace (in this cae 
'defaul' instead of 'default') you got an error that is very hard to understand 
for the user
   
   ```
   bin/pulsar-admin topics create persistent://public/defaul/topic1
   14:56:09.681 [AsyncHttpClient-7-1] WARN  
org.apache.pulsar.client.admin.internal.BaseResource - 
[http://localhost:8080/admin/v2/persistent/public/defaul/topic1] Failed to 
perform http put request: javax.ws.rs.ClientErrorException: HTTP 412 
Precondition Failed
   Namespace does not have any clusters configured
   ```
   
   **Expected behavior**
   An error like 'namespace does not exist'
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to