目录

What should I do if an error message is displayed at has.uploadFile runtime?

Symptom

The following error message is displayed at has.uploadFile runtime:

errMsg: uploadFile error, message: empty error message.

errCode: 40000301

Possible Causes

The attribute value of the formData parameter is not of the string type.

Solution

Ensure that the attribute value of the formData parameter is of the string type. If not, convert it to the string type.