Skip to content

Error code 1022 #23

Open
Open
@george-essa

Description

@george-essa

I'm getting the following error, consistently:

{
  errno: 1022,
  errmsg: '访问出现异常,请刷新后重试!',
  error: 1022,
  errShowMsg: '访问出现异常,请刷新后重试!' 
}

code to reproduce :

const RequestOptions = {
    "from" : "auto",
    "to" : "spa"
}

exports.translate_text = async (text) => {
        await translate(text, RequestOptions)
        .then(value => //some code )
        .catch(err => console.log(err))
}

Any ideas how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions