dosubot[bot] commented on issue #32685:
URL: https://github.com/apache/superset/issues/32685#issuecomment-2726144588

   <!-- Greeting -->
   Hey there, @ayrloong! I'm here to help you with any bugs, questions, or 
contributions you have for the project. Let's tackle this Swagger documentation 
error together!
   
   <!-- Answer -->
   To resolve the issue with the `table_metadata` API call in Swagger, ensure 
that you are using the correct field name `name` instead of `table` in your API 
request. The correct query parameter should be `name` for the table name, as 
shown in the successful request example:
   
   ```http
   GET 
/api/v1/database/{pk}/table_metadata/?name=your_table_name&schema=your_schema
   ```
   
   Replace `your_table_name` and `your_schema` with the actual table name and 
schema you are querying. This should help avoid the 422 Unprocessable Entity 
error due to incorrect field names 
<sup>[[1]](https://github.com/apache/superset/blob/e8ad096173c415b50965cc571ba4f24da6055cbc/tests/unit_tests/databases/api_test.py#L1962-L2012)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/f048913f-7a79-436c-b527-c97ab7b37b73?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/f048913f-7a79-436c-b527-c97ab7b37b73?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/f048913f-7a79-436c-b527-c97ab7b37b73?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/f048913f-7a79-436c-b527-c97ab7b37b73?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/f048913f-7a79-436c-b527-c97ab7b37b73?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/f048913f-7a79-436c-b527-c97ab7b37b73?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/f048913f-7a79-436c-b527-c97ab7b37b73?feedback_type=other)</sup>
   


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