・カテゴリー機能を使っているアプリで、一覧にカテゴリー項目を指定していると i できない。
→ 一時的にこれを解除して対応しました。
・以下エラーが発生して、全体の半分くらいのレコードが反映された時点で i が失敗する。
→ データが悪いのでしょうか、、私では調査が難しかったので、一旦ここまでとしました。いろいろとありがとうございます。
- Add records.(node:20068) UnhandledPromiseRejectionWarning: KintoneAllRecordsError: 0/4 records are processed successfully
at new KintoneAllRecordsError (C:\Users\username\AppData\Roamingpm-cache\_npx\11884ode_modules\kintone-app-templateode_modules\@kintone\rest-api-client\lib\error\KintoneAllRecordsError.js:26:24)
at RecordClient.<anonymous> (C:\Users\username\AppData\Roamingpm-cache\_npx\11884ode_modules\kintone-app-templateode_modules\@kintone\rest-api-client\lib\client\RecordClient.js:507:31)
at step (C:\Users\username\AppData\Roamingpm-cache\_npx\11884ode_modules\kintone-app-templateode_modules\@kintone\rest-api-client\lib\client\RecordClient.js:44:23)
at Object.throw (C:\Users\username\AppData\Roamingpm-cache\_npx\11884ode_modules\kintone-app-templateode_modules\@kintone\rest-api-client\lib\client\RecordClient.js:25:53)
at rejected (C:\Users\username\AppData\Roamingpm-cache\_npx\11884ode_modules\kintone-app-templateode_modules\@kintone\rest-api-client\lib\client\RecordClient.js:17:65)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:20068) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:20068) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
C:\tmp>node --version
v14.17.0
C:\tmp>npm --version
7.16.0
C:\tmp>npx --version
7.16.0
C:\tmp>npx kintone-app-template e 5 -d (SNIP).cybozu.com -u (SNIP) -p (SNIP)
Need to install the following packages:
kintone-app-template
Ok to proceed? (y) y
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
\ Get files.(node:28632) UnhandledPromiseRejectionWarning: KintoneRestAPIError: [429] [undefined] (undefined)
at KintoneResponseHandler.handleErrorResponse (C:\Users\hiran\AppData\Localpm-cache\_npx\968b047842594d57ode_modules\@kintone\rest-api-client\lib\KintoneResponseHandler.js:57:15)
at C:\Users\hiran\AppData\Localpm-cache\_npx\968b047842594d57ode_modules\@kintone\rest-api-client\lib\KintoneResponseHandler.js:35:123
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Function.download (C:\Users\hiran\AppData\Localpm-cache\_npx\968b047842594d57ode_modules\kintone-app-template\src\export\FileDownloader.js:15:9)
at async Promise.all (index 648)
at async C:\Users\hiran\AppData\Localpm-cache\_npx\968b047842594d57ode_modules\kintone-app-template\src\export\index.js:76:17
(Use `node --trace-warnings ...` to show where the warning was created)
(node:28632) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:28632) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.