It is working in Power BI Desktop. I have installed and set up On-premise data gateway.
On-premise data gateway show all my custom connectors, but when i test connect in Power Platform admin center throw error
Unable to update this data source's credentials. Unable to connect to the data source New data source.
Details: test-gateway: 0 arguments were passed to a function which expects between 2 and 4. Please have this information handy if you choose to create a support ticket. ActivityId: 7ae7b134-3d8c-440d-9d24-4afb5bb15730 RequestId: 6fef5f81-a683-46f3-b9a5-cddff4b4fa51 Cluster URI: https://api.powerbi.com Status code: 400 Time: Tue Sep 14 2021 11:53:29 GMT+0700 (Indochina Time)