# Bank Building - Parameter Error

**URL:** <https://qa.fmod.com/t/bank-building-parameter-error/17356>\
**Category:** FMOD Studio\
**Created:** [June 16, 2021, 9:09pm UTC](https://qa.fmod.com/t/bank-building-parameter-error/17356 "2021-06-16T21:09:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gdkaufmann](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/gdkaufmann/32/2358_2.png) [@gdkaufmann](https://qa.fmod.com/u/gdkaufmann)\
**Post date:** [June 16, 2021, 9:09pm UTC](https://qa.fmod.com/t/bank-building-parameter-error/17356/1 "2021-06-16T21:09:22Z")

</div>

Working on a new project and event. I saved the project and built the bank. Then when I went to add audio to the Event and save the bank I started getting this error:

“Failed to encode bank “Master Bank” due the following error: invalid parameter passed to this function”

I tried creating a new event and bank, but get the same error with the new bank name.

Any idea what’s causing this?

Thanks for any and all help.

Best,  
Glenn K.

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [June 18, 2021, 5:23am UTC](https://qa.fmod.com/t/bank-building-parameter-error/17356/2 "2021-06-18T05:23:49Z")

</div>

Are you using the same audio file(s) in both attempts at making the project? Or different audio files?

If it’s the same files, they might be the problem. Try using a different set of assets.

If you’re using different files, the issue might be the location you’re trying to save or build the project to. Check that you have write permissions for that location, and that the location isn’t subject to source control or synchronized to a cloud-based file upload service such as Dropbox.

---

<div class="post-metadata">

**Author:** ![gdkaufmann](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/gdkaufmann/32/2358_2.png) [@gdkaufmann](https://qa.fmod.com/u/gdkaufmann)\
**Post date:** [June 18, 2021, 8:22am UTC](https://qa.fmod.com/t/bank-building-parameter-error/17356/3 "2021-06-18T08:22:39Z")

</div>

Thanks, Joseph.

It’s looking like it’s at least one of the assets. I went through a process of elimination and that seems to be the trigger. If I delete that asset from the track the bank(s) build as expected.

Thanks again.

---

<div class="post-metadata">

**Author:** ![joseph](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/joseph/32/264_2.png) [@joseph](https://qa.fmod.com/u/joseph)\
**Post date:** [June 21, 2021, 12:45am UTC](https://qa.fmod.com/t/bank-building-parameter-error/17356/4 "2021-06-21T00:45:11Z")

</div>

It’s strange that this would happen. Are you able to send us a copy of the afflicted asset?
