google-cloud-node: File upload:api error not found
-ApiError: Not Found
at Object.parseHttpRespBody (/etc/son/server/node_modules/@google-cloud/common/src/util.js:193:30)
at Object.handleResp (/etc/son/server/node_modules/@google-cloud/common/src/util.js:131:18)
at /etc/son/server/node_modules/@google-cloud/common/src/util.js:496:12
at Request.onResponse [as _callback] (/etc/son/server/node_modules/retry-request/index.js:198:7)
at Request.self.callback (/etc/son/server/node_modules/request/request.js:185:22)
at emitTwo (events.js:126:13)
at Request.emit (events.js:214:7)
at Request.<anonymous> (/etc/son/server/node_modules/request/request.js:1157:10)
at emitOne (events.js:116:13)
at Request.emit (events.js:211:7)
at IncomingMessage.<anonymous> (/etc/son/server/node_modules/request/request.js:1079:12)
at Object.onceWrapper (events.js:313:30)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:138:11)
code: 404,
errors:
[ { domain: 'global', reason: 'notFound', message: 'Not Found' } ],
response: undefined,
message: 'Not Found' }
I get this error,when i want to file upload. Nodejs:8x Debian 8 I know google-cloud deprecated and i read same issue.
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 16 (8 by maintainers)
Does the bucket exist before the call to
bucket.upload
?