本帖最后由 sove 于 2023-8-28 09:48 编辑
我特意测试了:
附件大于4M小于22M,对接的对方系统会发出提示:
创建变量 返回的上传结果 = {"Result":{"ResponseStatus":{"ErrorCode":500,"IsSuccess":false,"Errors":[],"SuccessEntitys":[],"SuccessMessages":[],"MsgCode":0},"FileId":null,"Message":"超过了最大请求长度。"}}
附件大于22M后,附件还未传至第三方系统,活字端直接会发出提示:
StatusCode: 413, ReasonPhrase: 'Request Entity Too Large', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers: { Server: Microsoft-IIS/10.0 X-Powered-By: ASP.NET Date: Mon, 28 Aug 2023 01:43:02 GMT Connection: close Content-Type: text/html Content-Length: 45 }
错误码: 413
信息: 未显示页面,因为请求实体过大。截图如下 :
所以大于22M的附件传不了这个问题是这边系统的问题
|