In Business central cloud version BC23 we are unable to upload a file with more than 1 MB through OData API codeunit web service. For this we are using Bigtext as a parameter.
Below is the error message.
/error/: {
/code/: /BadRequest/,
/message/: /One or more errors occurred. (One or more errors occurred. (One or more errors occurred. (One or more errors occurred.
(One or more errors occurred. (One or more errors occurred. (The maximum number of bytes allowed to be read from the stream has been exceeded.
After the last read operation, a total of 1063379 bytes has been read from the stream; however a maximum of 1048576 bytes is allowed.))))))
CorrelationId: 069ea448-4395-4429-9c06-0e99c8a214f3./
}
Note: Ite was working BC22 and lower versions.
Please suggest if you have any idea.
Thanks in Advance.