云函数使用 DYNAMIC_CURRENT_ENV 报错
发布于 5 年前 作者 jing03 10857 次浏览 来自 官方Issues
cloud.init({
 
   env: cloud.DYNAMIC_CURRENT_ENV
 
})

云函数中使用以上代码,报错内容:

Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID bfef05f1-0167-11ea-985a-525400e24e59, cloud function service error code -504002, error message errCode: -1 unknown error | errMsg: parameter should be string instead of symbol;; at cloud.callFunction api; 

回到顶部