目录

What should I do if error 2300023 is reported when a file larger than 5 MB is sent via an HTTP request?

By default, a maximum of 5 MB of data can be transferred via an HTTP request (this default specification is extended to 50 MB since API version 23). When the data size exceeds 5 MB, you can set maxLimit in HttpRequestOptions to increase the maximum data size to 100 MB. If the file size exceeds 100 MB or if the file size is uncertain but may exceed 100 MB, you are advised to use requestInStream to initiate a streaming request. For details, see Initiating an HTTP Streaming Request.