Tag Archives: WeChat applet

Cloud init error: error: invalid scope does not have permission

Confirm that the env cloud environment parameters you have configured are correct, and report the following error after compiling. The reason is that appid needs to wait about 10 minutes for the official background to prepare for the service after opening the cloud environment for the first time, and then it can be compiled again after 10 minutes.

Using uniapp uni.downloadFile Download picture to photo album times error unknown problem

Suppose we upload a JPG image. When we upload using OSS, if we specify that the content type is image/jpeg, the generated outer chain will be displayed directly on the browser. If the set content type is application/octet stream or multipart/form data, the external link is downloaded directly. In the final analysis, the content type in the response header indicates what type the browser is, rather than judging by the URL suffix jpg

First of all, you need to pay attention to the type of image to download. Content type is image/jpeg type. If it is image/JPG type, it may lead to the problem of unknown