Cannot choose option from drop down menu generated by Oracle Policy Automation (OPA)

Firstly, for future reference, read this:

The complaint from Katalon is that the arguments you’ve supplied to selectOptionByIndex are the wrong types. Post your actual code so we can help you better.

Also, be aware, the element MUST be a SELECT element for selectOptionByIndex to work.