# Unable to fetch v.1.14.0 using go get

**URL:** <https://discuss.hashicorp.com/t/unable-to-fetch-v-1-14-0-using-go-get/55710>\
**Category:** Vault\
**Created:** [July 5, 2023, 7:31am UTC](https://discuss.hashicorp.com/t/unable-to-fetch-v-1-14-0-using-go-get/55710 "2023-07-05T07:31:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![HelloWorldMisc](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/helloworldmisc/32/36632_2.png) [@HelloWorldMisc](https://discuss.hashicorp.com/u/HelloWorldMisc)\
**Post date:** [July 5, 2023, 7:31am UTC](https://discuss.hashicorp.com/t/unable-to-fetch-v-1-14-0-using-go-get/55710/1 "2023-07-05T07:31:24Z")

</div>

Hi all,

I am currently using vault v1.9.2 and want to upgrade to v.1.14.0.  
However, if I update my go mod with [github.com/hashicorp/vault/api](http://github.com/hashicorp/vault/api) v1.14.0, it is failing with the following error:  
go: [github.com/hashicorp/vault/api@v1.14.0:](http://github.com/hashicorp/vault/api@v1.14.0:) reading [github.com/hashicorp/vault/api/go.mod](http://github.com/hashicorp/vault/api/go.mod) at revision api/v1.14.0: unknown revision api/v1.14.0

go get is also failing with the same error

go get [github.com/hashicorp/vault/api@1.14.0](http://github.com/hashicorp/vault/api@1.14.0)  
go: [github.com/hashicorp/vault/api@v1.14.0:](http://github.com/hashicorp/vault/api@v1.14.0:) reading [github.com/hashicorp/vault/api/go.mod](http://github.com/hashicorp/vault/api/go.mod) at revision api/v1.14.0: unknown revision api/v1.14.0

any info on how I can pull latest?

---

<div class="post-metadata">

**Author:** ![HelloWorldMisc](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/helloworldmisc/32/36632_2.png) [@HelloWorldMisc](https://discuss.hashicorp.com/u/HelloWorldMisc)\
**Post date:** [July 5, 2023, 7:46am UTC](https://discuss.hashicorp.com/t/unable-to-fetch-v-1-14-0-using-go-get/55710/2 "2023-07-05T07:46:10Z")

</div>

I had observed that vault and /api release tags are different.  
vault is at 1.14 while api is still at 1.9.2.

> **[Tags · hashicorp/vault](https://github.com/hashicorp/vault/tags)**
>
> A tool for secrets management, encryption as a service, and privileged access management - Tags · hashicorp/vault

this might be the reason.

---

<div class="post-metadata">

**Author:** ![maxb](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/maxb/32/26655_2.png) [@maxb](https://discuss.hashicorp.com/u/maxb)\
**Post date:** [July 5, 2023, 8:09am UTC](https://discuss.hashicorp.com/t/unable-to-fetch-v-1-14-0-using-go-get/55710/3 "2023-07-05T08:09:41Z")

</div>

You’re making an assumption that the api package follows the same versioning scheme as Vault itself.

It’s not an unreasonable assumption, considering HashiCorp don’t publish a separate changelog. However it isn’t actually true!

api version numbers have no algorithmic relationship to Vault version numbers, and the only way to relate them is to look at the Git commit tree.

Generally though, it suffices just to upgrade to the latest available api version from time to time.

---

<div class="post-metadata">

**Author:** ![HelloWorldMisc](https://sea2.discourse-cdn.com/hashicorp/user_avatar/discuss.hashicorp.com/helloworldmisc/32/36632_2.png) [@HelloWorldMisc](https://discuss.hashicorp.com/u/HelloWorldMisc)\
**Post date:** [July 5, 2023, 8:54am UTC](https://discuss.hashicorp.com/t/unable-to-fetch-v-1-14-0-using-go-get/55710/4 "2023-07-05T08:54:00Z")

</div>

Thanks for the info. @maxb
