[Small program upload error] message: Error: System error, error code: 80058, desc of scope.userLocation is empty

According to the error message "Error: System error, error code: 80058, desc of scope.userLocation is empty", this is a system error, and the error code is 80058. The error message mentions that the description of scope.userLocation is empty.

It may be because the scope.userLocation permission is used in the applet, but the description information of the permission is not provided in the corresponding configuration.

manifest.json—源码视图The solution to this problem is to add corresponding permission description information in the configuration file ( ) of the applet . permissionAdd a description of userLocation in the field, for example :

"permission": {
    
    
  "scope.userLocation": {
    
    
    "desc": "获取用户地理位置信息"
  }
}

After adding the permission description information, recompile and upload the applet to solve this error.

insert image description here

Guess you like

Origin blog.csdn.net/weixin_48596030/article/details/131520580