niyushabaghayi opened a new issue, #5440:
URL: https://github.com/apache/gravitino/issues/5440

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   When creating a catalog with type: `relational` and `provider: Apache 
Iceberg`, the Gravitino UI fails to include the `jdbc-driver`, `jdbc-user`, and 
`jdbc-password` parameters in the request payload. As a result, the backend 
returns a 400 error, indicating that `jdbc-driver` is `null` and invalid.
   
   ### Error message and/or stacktrace
   
   The error message displayed in the UI is as follows:
   
   - `AxiosError: Request failed with status code 400`
   - `null in jdbc-driver is invalid. The value can't be blank`
   
   ![Screenshot from 2024-11-04 
16-35-38](https://github.com/user-attachments/assets/37fa4582-a798-47f7-860c-62f41506b181)
   
   
   ### How to reproduce
   
   1. Go to the Gravitino UI and open the "Create Catalog" dialog.
   
   2. Set the following values:
     - Name: [whatever you want]
     - Type: `relational`
     - Provider: `Apache Iceberg`
    
   3. Under the "Properties" section, set the following:
     - `catalog-backend`: `jdbc`
     - `uri`: `jdbc:postgresql://[host]:[port]/[db]`
     - `warehouse`: `s3://[bucket]/[prefix]`
     - `jdbc-driver`: `org.postgresql.Driver`
     - `jdbc-user`: [username]
     - `jdbc-password`: `[password]`
   
   4. Click on "Create."
   
   5. Observe the 400 error in the console or the UI error message:
   `- null in jdbc-driver is invalid. The value can't be blank`
   
   
   ![Screenshot from 2024-11-04 
16-35-14](https://github.com/user-attachments/assets/78a00197-e1c7-420a-8c95-1c77bfdd896f)
   
   
   ### Additional context
   
   _No response_


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

Reply via email to