What do I do if the "Can not find endpoint to access" error is reported for a call?
The error is reported because the correct domain name is not found. Add the correct service name and domain name.
Use the following code to troubleshoot the issue when you call the SDK for Java.
DefaultProfile.AddEndpoint("cn-hangzhou", "cn-hangzhou", "BssOpenApi", "business.aliyuncs.com");