【发布时间】:2019-07-04 12:03:23
【问题描述】:
我遵循viewer walkthrough,当我上传指南提供的演示模型“rst_basic_sample_project.rvt”以及上传小文件 .obj 时,它工作正常。 但是当我尝试上传其他随机 .ifc 文件(支持列表中包含的扩展名)时,它会停止工作。
应用程序显示“无法在存储桶中创建新对象”并在 cmd 上显示“错误:请求正文大于 maxBodyLength 限制”。后者是由 Axios 库抛出的:
Error: Request body larger than maxBodyLength limit
at RedirectableRequest.write (@myPath@\node_modules\follow-redirects\index.js:105:24)
at RedirectableRequest.end (@myPath@\node_modules\follow-redirects\index.js:130:10)
at dispatchHttpRequest (@myPath@\node_modules\axios\lib\adapters\http.js:234:11)
at new Promise (<anonymous>)
at httpAdapter (@myPath@\node_modules\axios\lib\adapters\http.js:18:10)
at dispatchRequest (@myPath@\node_modules\axios\lib\core\dispatchRequest.js:59:10)
我希望查看器可以上传任何文件。我错了吗? 因此,这意味着查看器对于上传的文件尺寸有最大容量吗?或者可以调整吗?
【问题讨论】:
标签: autodesk-forge autodesk-viewer