图片上传.开发工具调试正常.用手机iphone和安卓都提示超过限制.可是我图片也才100多kb?
发布于 4 年前 作者 lei92 3964 次浏览 来自 官方Issues

谢谢大佬解答

上传图片出错 Error: errCode: -1  | errMsg: cloud.callFunction:fail Error: data exceed max size (callId: 1594305163948-0.6454455064365248) (trace: 22:32:43 start->22:32:49 system error (Error: data exceed max size), retry->22:32:50 system error (Error: data exceed max size), retry->22:32:55 system error (Error: data exceed max size), abort); at cloud.callFunction api; 

    at new u (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:261144)

    at d (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:261651)

    at f (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:261746)

    at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:428279)

    at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:65969)

    at eval (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:66078)

    at e (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:68530)

    at e.exports (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:27369)

    at y.<computed> (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:32768)

    at Number.r (eval at n.call.document (runtime.js?devtools_ignore=true:1), <anonymous>:2:32467)

1 回复

搞清楚了.云函数路口参数不能大于10kb.之前用base64上传到云函数超过max.

回到顶部