1e41f4b71Sopenharmony_ci# Network Subsystem Changelog 2e41f4b71Sopenharmony_ci 3e41f4b71Sopenharmony_ci## cl.network.1 Error Code 2300998 Added to http.request 4e41f4b71Sopenharmony_ci 5e41f4b71Sopenharmony_ci**Access Level** 6e41f4b71Sopenharmony_ci 7e41f4b71Sopenharmony_ciPublic API 8e41f4b71Sopenharmony_ci 9e41f4b71Sopenharmony_ci**Reason for Change** 10e41f4b71Sopenharmony_ci 11e41f4b71Sopenharmony_ciThe purpose of this change is to standardize the range of domain names for atomic service requests and improve the atomic service release efficiency and platform operation security. When a user initiates an atomic service request, domain name access is subject to the domain name configured for the atomic service. If no domain name is configured, the **request** API returns the error code 2300998. 12e41f4b71Sopenharmony_ci 13e41f4b71Sopenharmony_ci**Change Impact** 14e41f4b71Sopenharmony_ci 15e41f4b71Sopenharmony_ciThis change is a non-compatible change. 16e41f4b71Sopenharmony_ci 17e41f4b71Sopenharmony_ciIf no domain name is configured for atomic services of API version 11 or earlier, the **request** API is not affected. 18e41f4b71Sopenharmony_ci 19e41f4b71Sopenharmony_ciFrom API version 12, the **request** API throws this error code for access to a domain name not configured for an atomic service. For details, see [API Reference](../../../application-dev/reference/apis-network-kit/js-apis-http.md). 20e41f4b71Sopenharmony_ci 21e41f4b71Sopenharmony_ci**Start API Level** 22e41f4b71Sopenharmony_ci 23e41f4b71Sopenharmony_ci6 24e41f4b71Sopenharmony_ci 25e41f4b71Sopenharmony_ci**Change Since** 26e41f4b71Sopenharmony_ci 27e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.25 28e41f4b71Sopenharmony_ci 29e41f4b71Sopenharmony_ci**Key API/Component Changes** 30e41f4b71Sopenharmony_ci 31e41f4b71Sopenharmony_ci| Interface File | 32e41f4b71Sopenharmony_ci|----------------------------------------------------------------------------------------------------------| 33e41f4b71Sopenharmony_ci| [ohos.net.http.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.net.http.d.ts) | 34e41f4b71Sopenharmony_ci 35e41f4b71Sopenharmony_ci**Adaptation Guide** 36e41f4b71Sopenharmony_ci 37e41f4b71Sopenharmony_ciIf you use the **request** API for HTTP request initiation when developing an atomic service, you need to go to [AppGallery Connect](https://developer.huawei.com/consumer/en-us/service/josp/agc/index.html) 38e41f4b71Sopenharmony_cito configure the server domain name. For details, see [Development Guide](https://developer.huawei.com/consumer/en-us/doc/atomic-guides-V5/agc-help-harmonyos-server-domain-V5). 39e41f4b71Sopenharmony_ci 40e41f4b71Sopenharmony_ciIf the **request** API fails during atomic service development, use **catch** to capture the error. If the error code is **2300998**, configure the server domain name in [AppGallery Connect](https://developer.huawei.com/consumer/en-us/service/josp/agc/index.html). For details, see [Development Guide](https://developer.huawei.com/consumer/en-us/doc/atomic-guides-V5/agc-help-harmonyos-server-domain-V5). 41e41f4b71Sopenharmony_ci 42e41f4b71Sopenharmony_ci## cl.network.2 Error Code 2300998 Added to http.requestInStream 43e41f4b71Sopenharmony_ci 44e41f4b71Sopenharmony_ci**Access Level** 45e41f4b71Sopenharmony_ci 46e41f4b71Sopenharmony_ciPublic API 47e41f4b71Sopenharmony_ci 48e41f4b71Sopenharmony_ci**Reason for Change** 49e41f4b71Sopenharmony_ci 50e41f4b71Sopenharmony_ciThe purpose of this change is to standardize the range of domain names for atomic service requests and improve the atomic service release efficiency and platform operation security. When a user initiates an atomic service request, domain name access is subject to the domain name configured for the atomic service. If no domain name is configured, the **requestInStream** API returns the error code 2300998. 51e41f4b71Sopenharmony_ci 52e41f4b71Sopenharmony_ci**Change Impact** 53e41f4b71Sopenharmony_ci 54e41f4b71Sopenharmony_ciThis change is a non-compatible change. 55e41f4b71Sopenharmony_ci 56e41f4b71Sopenharmony_ciIf no domain name is configured for atomic services of API version 11 or earlier, the **requestInStream** API is not affected. 57e41f4b71Sopenharmony_ci 58e41f4b71Sopenharmony_ciFrom API version 12, the **requestInStream** API throws this error code for access to a domain name not configured for an atomic service. For details, see [API Reference](../../../application-dev/reference/apis-network-kit/js-apis-http.md). 59e41f4b71Sopenharmony_ci 60e41f4b71Sopenharmony_ci**Start API Level** 61e41f4b71Sopenharmony_ci 62e41f4b71Sopenharmony_ciAPI version 6 63e41f4b71Sopenharmony_ci 64e41f4b71Sopenharmony_ci**Change Since** 65e41f4b71Sopenharmony_ci 66e41f4b71Sopenharmony_ciOpenHarmony SDK 5.0.0.25 67e41f4b71Sopenharmony_ci 68e41f4b71Sopenharmony_ci**Key API/Component Changes** 69e41f4b71Sopenharmony_ci 70e41f4b71Sopenharmony_ci| Interface File | 71e41f4b71Sopenharmony_ci|----------------------------------------------------------------------------------------------------------| 72e41f4b71Sopenharmony_ci| [ohos.net.http.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.net.http.d.ts) | 73e41f4b71Sopenharmony_ci 74e41f4b71Sopenharmony_ci**Adaptation Guide** 75e41f4b71Sopenharmony_ci 76e41f4b71Sopenharmony_ciIf you use the **requestInStream** API for HTTP stream request initiation when developing an atomic service, you need to go to [AppGallery Connect](https://developer.huawei.com/consumer/en-us/service/josp/agc/index.html) 77e41f4b71Sopenharmony_cito configure the server domain name. For details, see [Development Guide](https://developer.huawei.com/consumer/en-us/doc/atomic-guides-V5/agc-help-harmonyos-server-domain-V5). 78e41f4b71Sopenharmony_ci 79e41f4b71Sopenharmony_ciIf the **requestInStream** API fails during atomic service development, use **catch** to capture the error. If the error code is **2300998**, configure the server domain name in [AppGallery Connect](https://developer.huawei.com/consumer/en-us/service/josp/agc/index.html). For details, see [Development Guide](https://developer.huawei.com/consumer/en-us/doc/atomic-guides-V5/agc-help-harmonyos-server-domain-V5). 80