Issue while uploading data source using api in quick sight

I am facing an error " “Unable to execute HTTP request: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty” reason, needs to be manually intervened."

The json which I am uploading is:
{
“awsAccountId” : “${AWS_ACCOUNT_ID}”,
“dataSourceId” : “datasource_snowflake”,
“name” : “datasource_snowflake”,
“type” : “${TYPE}”,
“dataSourceParameters” : {
“amazonElasticsearchParameters” : null,
“athenaParameters” : null,
“auroraParameters” : null,
“auroraPostgreSqlParameters” : null,
“awsIotAnalyticsParameters” : null,
“jiraParameters” : null,
“mariaDbParameters” : null,
“mySqlParameters” : null,
“oracleParameters” : null,
“postgreSqlParameters” : null,
“prestoParameters” : null,
“rdsParameters” : null,
“redshiftParameters” : null,
“s3Parameters” : null,
“serviceNowParameters” : null,
“snowflakeParameters” : {
“host” : “${HOST}”,
“database” : “${DATABASE_NAME}”,
“warehouse” : “${WAREHOUSE_DIRECTORY}”
},
“sparkParameters” : null,
“sqlServerParameters” : null,
“teradataParameters” : null,
“twitterParameters” : null,
“amazonOpenSearchParameters” : null,
“exasolParameters” : null,
“databricksParameters” : null,
“starburstParameters” : null,
“trinoParameters” : null,
“bigQueryParameters” : null
},
“credentials” : {
“credentialPair” : {
“username” : “${USER_NAME}”,
“password” : “${USER_PASSWORD}”,
“alternateDataSourceParameters” : null
},
“copySourceArn” : null,
“secretArn” : null
},
“permissions” : [ {
“principal” : “arn:aws:quicksight:${REGION}:${AWS_ACCOUNT_ID}:user/default/${PRINCIPAL_USERNAME}”,
“actions” : [ “quicksight:UpdateDataSourcePermissions”, “quicksight:DescribeDataSourcePermissions”, “quicksight:PassDataSource”, “quicksight:DescribeDataSource”, “quicksight:DeleteDataSource”, “quicksight:UpdateDataSource” ]
} ],
“vpcConnectionProperties” : null,
“sslProperties” : {
“disableSsl” : true
}
}

how to resolve this error and what need to be changed in this json.

Hey @Aditjain20

What API call are you doing and did you do anything in the rest of the code to disable SSL or anything like that?

Hello @Aditjain20 are you facing issue with Java SDK? when creating the datasource?

Hi @Venkat_sai

Yes, due to Java sdk

Hi @Aditjain20,

Hope this message finds you well! Wanted to check in with you since I noticed you have not received a response in a while. Were you able to find a solution to your problem regarding Java SDK or are you still facing persistent issues? If we do not hear back within 3 business days, I will close this topic.

Hi @Aditjain20,

Since we have not received a response, I will close this topic. However, if you have any additional questions, please feel free to create a new post in the community and link this discussion for relevant information if needed.

Thank you!