I am trying to connect to execute SQL (custom query), through FLOW. But after providing of 'Server' and 'Database' name it's throwing following error.
The dynamic operation request to API 'sql' operation 'GetPassThroughNativeQueryMetadata_V2' failed with status code 'BadRequest'. This may indicate invalid input parameters. Error response: { "status": 400, "message": "Gateway GetPassThroughNativeQueryMetadataAsync - this operation (Execute Native Sql) is currently not supported using an on-prem gateway connection.
Screenshot :

Can anyone help on this ?