1# Network Subsystem Changelog 2 3## cl.network.1 Error Code 2300998 Added to http.request 4 5**Access Level** 6 7Public API 8 9**Reason for Change** 10 11The 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. 12 13**Change Impact** 14 15This change is a non-compatible change. 16 17If no domain name is configured for atomic services of API version 11 or earlier, the **request** API is not affected. 18 19From 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). 20 21**Start API Level** 22 236 24 25**Change Since** 26 27OpenHarmony SDK 5.0.0.25 28 29**Key API/Component Changes** 30 31| Interface File | 32|----------------------------------------------------------------------------------------------------------| 33| [ohos.net.http.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.net.http.d.ts) | 34 35**Adaptation Guide** 36 37If 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) 38to 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). 39 40If 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). 41 42## cl.network.2 Error Code 2300998 Added to http.requestInStream 43 44**Access Level** 45 46Public API 47 48**Reason for Change** 49 50The 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. 51 52**Change Impact** 53 54This change is a non-compatible change. 55 56If no domain name is configured for atomic services of API version 11 or earlier, the **requestInStream** API is not affected. 57 58From 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). 59 60**Start API Level** 61 62API version 6 63 64**Change Since** 65 66OpenHarmony SDK 5.0.0.25 67 68**Key API/Component Changes** 69 70| Interface File | 71|----------------------------------------------------------------------------------------------------------| 72| [ohos.net.http.d.ts](https://gitee.com/openharmony/interface_sdk-js/blob/master/api/@ohos.net.http.d.ts) | 73 74**Adaptation Guide** 75 76If 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) 77to 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). 78 79If 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