# Error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go struct field ChartVersion.entries.appVersion of type string

**URL:** <https://community.sonatype.com/t/error-unmarshaling-json-while-decoding-json-json-cannot-unmarshal-number-into-go-struct-field-chartversion-entries-appversion-of-type-string/8640>\
**Category:** Sonatype Nexus Repository\
**Tags:** nexus-repository, helm\
**Created:** [May 10, 2022, 2:48pm UTC](https://community.sonatype.com/t/error-unmarshaling-json-while-decoding-json-json-cannot-unmarshal-number-into-go-struct-field-chartversion-entries-appversion-of-type-string/8640 "2022-05-10T14:48:06Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kostiantyn](https://avatars.discourse-cdn.com/v4/letter/k/0ea827/32.png) [@kostiantyn](https://community.sonatype.com/u/kostiantyn)\
**Post date:** [May 10, 2022, 2:48pm UTC](https://community.sonatype.com/t/error-unmarshaling-json-while-decoding-json-json-cannot-unmarshal-number-into-go-struct-field-chartversion-entries-appversion-of-type-string/8640/1 "2022-05-10T14:48:06Z")

</div>

Hello,  
`version.BuildInfo{Version:"v3.2.3", GitCommit:"8f832046e258e2cb800894579b1b3b50c2d83492", GitTreeState:"clean", GoVersion:"go1.13.12"}`  
Nexus OSS CE OSS 3.38.1-01

We have a problem with adding helm artifacts with appVersion as git short commit.  
`helm package --version 5.4.0 --app-version "57733e8" chart/`

After pushing that we got problem with `helm repo update` or `helm repo add`  
Hang tight while we grab the latest from your chart repositories…  
…Unable to get an update from the “test1” chart repository ([https://nexus.myhost.net/repository/test/](https://nexus.myhost.net/repository/test/)):  
error unmarshaling JSON: while decoding JSON: json: cannot unmarshal number into Go struct field ChartVersion.entries.appVersion of type string  
Update Complete. ⎈Happy Helming!⎈

Can you clarify if its supported by Nexus and if yes, what is workaround?

---

_[View the full topic](https://community.sonatype.com/t/error-unmarshaling-json-while-decoding-json-json-cannot-unmarshal-number-into-go-struct-field-chartversion-entries-appversion-of-type-string/8640)._
