KintoneRestAPIError: [403] [CB_NO02] No privilege to proceed. Error when using the kintone-customize-uploader CLI tool
ahandsel
Posted on April 27, 2023
This is an error related to account permissions and kintone-customize-uploader
If you encounter the KintoneRestAPIError: [403] [CB_NO02] No privilege to proceed.
, it most likely concerns the account used to execute the kintone-customize-uploader
cli tool.
Full Error Message
An error occurred, retry
Failed to update customize setting
KintoneRestAPIError: [403] [CB_NO02] No privilege to proceed. (SoyMA67jQV6mU3NHzTyH)
at KintoneResponseHandler.handleErrorResponse (/Users/username/.nodenv/versions/18.14.2/lib/node_modules/@kintone/customize-uploader/node_modules/@kintone/rest-api-client/lib/KintoneResponseHandler.js:57:15)
at /Users/username/.nodenv/versions/18.14.2/lib/node_modules/@kintone/customize-uploader/node_modules/@kintone/rest-api-client/lib/KintoneResponseHandler.js:35:123
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Child process exited with code: 1 and signal:. Terminating parent process...
Cause
The cause is that the account used to upload the customization files to the Kintone App is not a Kintone Administrator.
As specified in the Customizing an App Using JavaScript and CSS help document, only Kintone Administrators are allowed to upload JS & CSS customization files to any Kintone Apps.
Note that JavaScript and CSS files can be uploaded on Kintone only by Kintone Administrators.
Solution
Use an account with Kintone Administrator privilege when executing the kintone-customize-uploader
.
To upgrade a Kintone account to have Kintone Administrator privilege:
Log into your Kintone Subdomain with the Kintone Admin account
Click the ⚙️ in the header.
-
Click the Users & System Administration option.
- ⚠️ If the link does not appear, you do not have administrative privilege, so you cannot modify a Kintone account.
Click the Administrators from the left-side menu.
Enter the user's display name or login name in the search box to search for the target user. Moreover, you can expand the department tree and find the target user.
-
Select the users you want to add as administrators.
Click the Add button.
Confirm that the target users are added to the "Administrators" section.
Click the Save button.
Resources
- GitHub Repo: js-sdk/packages/customize-uploader/
- Tutorial: Upload JavaScript and CSS files with Customize-uploader - Kintone Developer Program
- Kintone Help Documents:
- npm: @kintone/customize-uploader - npm
Posted on April 27, 2023
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.