收藏
回答

命令行工具的upload接口最近经常报503错误

框架类型 操作系统 工具版本
小程序 macOS v1.01.1712150

命令行工具的upload接口最近经常报503错误,请问这是服务不稳定还是我们的网络问题?


{ StatusCodeError: 400 - "{\"code\":40000,\"error\":\"错误 网络错误,状态码:503\"}"
    at new StatusCodeError (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/request-promise-core/lib/errors.js:32:15)
    at Request.plumbing.callback (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/request-promise-core/lib/plumbing.js:104:33)
    at Request.RP$callback [as _callback] (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/request-promise-core/lib/plumbing.js:46:31)
    at Request.self.callback (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/request/request.js:186:22)
    at emitTwo (events.js:125:13)
    at Request.emit (events.js:213:7)
    at Request.<anonymous> (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/request/request.js:1163:10)
    at emitOne (events.js:115:13)
    at Request.emit (events.js:210:7)
    at IncomingMessage.<anonymous> (/Applications/wechatwebdevtools.app/Contents/Resources/app.nw/node_modules/request/request.js:1085:12)
  name: 'StatusCodeError',
  statusCode: 400,
  message: '400 - "{\\"code\\":40000,\\"error\\":\\"错误 网络错误,状态码:503\\"}"',
  error: '{"code":40000,"error":"错误 网络错误,状态码:503"}',


回答关注问题邀请回答
收藏
登录 后发表内容