Can you use Behaviours on Customer Portal Affects Version/s?

Additional Console Log Information:

Behaviours is getting the right value, but then exits with an error