raise Exception(resp.get('error'))
Exception: ...oppeliaSim.app/Contents/MacOS/../Resources/lua/simIK.lua:188: attempt to index a nil value (field 'ikEnvs')
I see in the wizard it generates code with _ but even if I change it
yes, you are right. This happens when you create an IK task not via simIK.addElementfromScene. Did you run a specific CoppeliaSim example or scene that triggered that?