# VST Plugin get parameter assertion

**URL:** <https://forum.juce.com/t/vst-plugin-get-parameter-assertion/30094>\
**Category:** Audio Plugins\
**Created:** [October 30, 2018, 10:24am UTC](https://forum.juce.com/t/vst-plugin-get-parameter-assertion/30094 "2018-10-30T10:24:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![erezblm](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/erezblm/32/1468_2.png) [@erezblm](https://forum.juce.com/u/erezblm)\
**Post date:** [October 30, 2018, 10:24am UTC](https://forum.juce.com/t/vst-plugin-get-parameter-assertion/30094/1 "2018-10-30T10:24:27Z")

</div>

Hey,  
I’m hosting VST Instrument plugins in my Sequencer’ish App  
I recently tried to use XFer Records ‘Serum’ VST plugin and I got an assertion when I clicked some button in the plug for unrecognized parameter index received from the plugin.  
It is probably fair to say it’s the VST responsibility to report a change for a valid parameter index that was registered before, but I’d still like to be able to use this standard VST plugin in debug mode.  
The assertion occurred in VSTPluginInstance::handleCallback():1621

---

<div class="post-metadata">

**Author:** ![t0m](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/t0m/32/16413_2.png) [@t0m](https://forum.juce.com/u/t0m)\
**Post date:** [October 30, 2018, 11:12am UTC](https://forum.juce.com/t/vst-plugin-get-parameter-assertion/30094/2 "2018-10-30T11:12:01Z")

</div>

Is this assertion indicating a more serious problem, or is everything still working OK?

We’re not going to remove it - it’s a valid signal that something _could_ be wrong. You’ll have to modify your copy of JUCE if you don’t want it triggering. You’ll find similar things with plug-ins not handling gestures correctly too.

---

<div class="post-metadata">

**Author:** ![erezblm](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/erezblm/32/1468_2.png) [@erezblm](https://forum.juce.com/u/erezblm)\
**Post date:** [October 30, 2018, 2:38pm UTC](https://forum.juce.com/t/vst-plugin-get-parameter-assertion/30094/3 "2018-10-30T14:38:12Z")

</div>

This is what I did…

I generally agree with you, but in practice it has no influence. The plugin was just informing the host that a button was clicked that has no corresponding parameter registered in the initialization of the VST instrument.  
I’ll investigate the VST API requirement whether this is a legal action and settle this down.
