# Creating a json using CLI to upload but get an error

**URL:** <https://community.hubspot.com/t/creating-a-json-using-cli-to-upload-but-get-an-error/86009>\
**Category:** APIs & Integrations\
**Tags:** professional\
**Created:** [July 24, 2023, 6:57pm UTC](https://community.hubspot.com/t/creating-a-json-using-cli-to-upload-but-get-an-error/86009 "2023-07-24T18:57:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonp](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/simonp/32/60590_2.png) [@simonp](https://community.hubspot.com/u/simonp)\
**Post date:** [July 24, 2023, 6:57pm UTC](https://community.hubspot.com/t/creating-a-json-using-cli-to-upload-but-get-an-error/86009/1 "2023-07-24T18:57:06Z")

</div>

Hello

As you cant seen to recreate a json within hubspot 0 and have to use cli to upload a file ( part of creating a font.json file- in order to add an additional font to theme)

I running into error

Uploading file  
[ERROR] Unexpected character (‘/’ (code 47)): maybe a (non-standard) comment? (not recognized as one since Feature ‘ALLOW\_COMMENTS’ not enabled for parser) (line:1, column:2)  
[ERROR] One or more files failed to upload to “theme\_name7/fonts” in the Design Manager

I have checked the json in json checker fine and its the code taken from

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [July 25, 2023, 9:28pm UTC](https://community.hubspot.com/t/creating-a-json-using-cli-to-upload-but-get-an-error/86009/2 "2023-07-25T21:28:56Z")

</div>

Hi, @simonp 👋 Thanks for your question.

Can you share the section of your JSON body that is throwing the error? Without seeing the specific example, it is challenging for our community to give a targeted reply.

Best,

Jaycee
