# Error: Unknown fields "coinsToSpend" on type "Query" did you mean "resourcesToSpend"

**URL:** <https://forum.fuel.network/t/error-unknown-fields-coinstospend-on-type-query-did-you-mean-resourcestospend/63>\
**Category:** Fuel Network\
**Tags:** beta-1, faqs\
**Created:** [November 14, 2022, 9:16pm UTC](https://forum.fuel.network/t/error-unknown-fields-coinstospend-on-type-query-did-you-mean-resourcestospend/63 "2022-11-14T21:16:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![camiinthisthang.sway](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@camiinthisthang.sway](https://forum.fuel.network/u/camiinthisthang.sway)\
**Post date:** [November 14, 2022, 9:16pm UTC](https://forum.fuel.network/t/error-unknown-fields-coinstospend-on-type-query-did-you-mean-resourcestospend/63/1 "2022-11-14T21:16:44Z")

</div>

I’m trying to deploy a contract and I am running into the error:

Unknown fields “coinsToSpend” on type “Query” did you mean “resourcesToSpend”

How do I fix this?

---

<div class="post-metadata">

**Author:** ![camiinthisthang.sway](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@camiinthisthang.sway](https://forum.fuel.network/u/camiinthisthang.sway)\
**Post date:** [November 14, 2022, 9:22pm UTC](https://forum.fuel.network/t/error-unknown-fields-coinstospend-on-type-query-did-you-mean-resourcestospend/63/2 "2022-11-14T21:22:31Z")

</div>

this is due to a version mismatch. Please install and use the toolchain for beta-1 or beta-2 respectively.

You can do that following these instructions:

1. Make sure you are on the latest fuelup version with the following command: `fuelup self update`
2. Run the following command to install the toolchain: `fuelup toolchain install beta-1`

Check out the docs for `fuelup` here: [Introduction - fuelup](https://fuellabs.github.io/fuelup/v0.11.1/)

---

<div class="post-metadata">

**Author:** ![camiinthisthang.sway](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@camiinthisthang.sway](https://forum.fuel.network/u/camiinthisthang.sway)\
**Post date:** [February 20, 2023, 10:16am UTC](https://forum.fuel.network/t/error-unknown-fields-coinstospend-on-type-query-did-you-mean-resourcestospend/63/3 "2023-02-20T10:16:35Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
