FAQ
更新时间:
复制 MD 格式
"Can not find endpoint to access" error when calling the SDK
This error occurs because the Java SDK cannot resolve the endpoint for the BssOpenApi service. The SDK requires a manually registered endpoint for this service before making any API call.
To fix the error, call DefaultProfile.AddEndpoint:
DefaultProfile.AddEndpoint("cn-hangzhou", "cn-hangzhou", "BssOpenApi", "business.aliyuncs.com");The following table describes the required parameters:
| Parameter | Value |
|---|---|
| Region ID | cn-hangzhou |
| Region | cn-hangzhou |
| Service name | BssOpenApi |
| Domain name | business.aliyuncs.com |
该文章对您有帮助吗?