Hi Geetha,
Thank you for you response.
This error is resolved. We need to use the whole URL like https://<cosmosdbendpoint>:443/
Now I am facing another issue. After creating the sink connector successfully in Confluent Cloud for CosmosDb Sink, I am getting error as below:
There were some errors with your configuration:
connect.cosmos.connection.endpoint: Could not connect to endpoint with error: Input byte array has wrong 4-byte ending unit
connect.cosmos.master.key: Could not connect to endpoint with error: Input byte array has wrong 4-byte ending unit