NihalJain opened a new issue, #14594:
URL: https://github.com/apache/pinot/issues/14594

   **Steps to reproduce:**
   
   ```bash
   curl -X 'GET' \
     'http://localhost:9000/users/{username}' \
     -H 'accept: application/json' \
     -H 'Authorization: Basic dGVzdDp0ZXN0'
   ```
   
   **Expected:**
   Either:
   
   - Details of user is returned, irrespective of component type.
   - OR, The field should be marked as required
   
   **Actual:**
   ```json
   {
     "code": 400,
     "error": "Cannot invoke 
\"org.apache.pinot.spi.config.user.ComponentType.name()\" because 
\"componentType\" is null"
   }
   ```
   
   Need to audit all User APIs and fix them appropriately. 


-- 
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.

To unsubscribe, e-mail: [email protected]

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to