# Customize Uploader: KintoneRestAPIError: \[400\]

**URL:** <https://forum.kintone.dev/t/customize-uploader-kintonerestapierror-400/850>\
**Category:** General\
**Tags:** kintone-customize-uploader\
**Created:** [September 7, 2023, 3:04am UTC](https://forum.kintone.dev/t/customize-uploader-kintonerestapierror-400/850 "2023-09-07T03:04:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Paul](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/paul/32/65_2.png) [@Paul](https://forum.kintone.dev/u/Paul)\
**Post date:** [September 7, 2023, 3:04am UTC](https://forum.kintone.dev/t/customize-uploader-kintonerestapierror-400/850/1 "2023-09-07T03:04:54Z")

</div>

## Question / Problem

I would appreciate it if anyone could share their ideas as to why I got this error when executing [kintone-customize-uploader](https://github.com/kintone/js-sdk/tree/master/packages/customize-uploader#kintone-customize-uploader).

## Current Situation

I am trying to upload JavaScript and CSS files to my Kintone App using the kintone-customize-uploader.

I have successfully done it for many of my other apps, but two apps failed and responded with the 400 error.

I tried to close the application everywhere without success.

### Code / Attempts

_Share your code and setup_

### Error Message

```shell
KintoneRestAPIError: [400] [CB_VA01] Missing or invalid input. (OQv31CapwTLipcP6s7ef)
at KintoneResponseHandler.handleErrorResponse (C:\Users\<user>\AppData\Roaming\npm\node_modules\@kintone\customize-uploader\node_modules\@kintone\rest-api-client\lib\src\KintoneResponseHandler.js:57:15)

```

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/kintone/original/1X/3e1bda25dfbb2f406809e1dfb693cc43672d1df9.png)

## Desired Outcome / Expected Behavior

I am trying to upload JavaScript and CSS files to my Kintone App using the customize uploader.

## Referenced Resources

## Resources

- GitHub Repo: [js-sdk/packages/customize-uploader/](https://github.com/kintone/js-sdk/tree/master/packages/customize-uploader#kintone-customize-uploader)
- Tutorial: [Upload JavaScript and CSS files with Customize-uploader - Kintone Developer Program](https://kintone.dev/en/tutorials/tool-guides/upload-javascript-and-css-files-with-customize-uploader/)
- npm: [@kintone/customize-uploader - npm](https://www.npmjs.com/package/@kintone/customize-uploader)

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/chris/32/44_2.png) [@Chris](https://forum.kintone.dev/u/Chris)\
**Post date:** [September 7, 2023, 5:21pm UTC](https://forum.kintone.dev/t/customize-uploader-kintonerestapierror-400/850/4 "2023-09-07T17:21:43Z")

</div>

Hello @Paul ,

Based on the error message you received, it appears that some sort of input is missing or invalid.  
To identify the exact cause of the issue, could you please share the manifest file with us?

Thank you

---

<div class="post-metadata">

**Author:** ![Paul](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/paul/32/65_2.png) [@Paul](https://forum.kintone.dev/u/Paul)\
**Post date:** [September 8, 2023, 1:18am UTC](https://forum.kintone.dev/t/customize-uploader-kintonerestapierror-400/850/5 "2023-09-08T01:18:25Z")

</div>

Hello @Chris

I have resolved the error yet  
This is what I did; I used to have the google fonts link on the manifest files,  
but after removed it the customize uploader was successful  
kindly refer to the picture how my manifest file used to be

Thank you very much for your help

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/kintone/original/1X/3c79fca24b2dbbf5ad3e182f81cfb274c6f5b3a0.png)

---

<div class="post-metadata">

**Author:** ![Genji](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/genji/32/646_2.png) [@Genji](https://forum.kintone.dev/u/Genji)\
**Post date:** [September 8, 2023, 1:33am UTC](https://forum.kintone.dev/t/customize-uploader-kintonerestapierror-400/850/6 "2023-09-08T01:33:06Z")

</div>

Hello @Paul ,

It looks like you mistyped the Google Fonts URL.  
Specifically, a `+` was missing between `Shippori+Antique`

Correct URL for [Shippori Antique - Google Fonts](https://fonts.google.com/specimen/Shippori+Antique):

```txt
https://fonts.googleapis.com/css2?family=Shippori+Antique&display=swap

```

Here is the corrected version of your manifest file:

```json
{
  "app": "133",
  "scope": "ALL",
  "desktop": {
    "js": [
      "https://js.kintone.com/jquery/3.6.0/jquery.min.js",
      "https://js.kintone.com/popmodal/1.26/popModal.min.js",
      "thai-clients-hovering-hints.js",
      "thai-clients.js"
    ],
    "css": [
      "https://js.kintone.com/popmodal/1.26/popModal.min.css",
      "https://js.kintone.com/font-awesome/v5.2.0/css/fontawesome-all.min.css",
      "https://fonts.googleapis.com/css2?family=Shippori+Antique&display=swap",
      "thai-clients.css"
    ]
  },
  "mobile": {
    "js": [
      "https://js.kintone.com/jquery/3.6.0/jquery.min.js",
      "https://js.kintone.com/popmodal/1.26/popModal.min.js",
      "thai-clients-hovering-hints.js",
      "thai-clients.js"
    ],
    "css": [
      "https://js.kintone.com/popmodal/1.26/popModal.min.css",
      "https://js.kintone.com/font-awesome/v5.2.0/css/fontawesome-all.min.css",
      "https://fonts.googleapis.com/css2?family=Shippori+Antique&display=swap",
      "thai-clients.css"
    ]
  }
}

```

---

<div class="post-metadata">

**Author:** ![Paul](https://yyz1.discourse-cdn.com/flex035/user_avatar/forum.kintone.dev/paul/32/65_2.png) [@Paul](https://forum.kintone.dev/u/Paul)\
**Post date:** [September 8, 2023, 1:47am UTC](https://forum.kintone.dev/t/customize-uploader-kintonerestapierror-400/850/7 "2023-09-08T01:47:33Z")

</div>

@Genji @Chris

Thank you very much for your help, now all is fine
