Unsupported argument type to external function

In a Declare statement, you declared an external function using an unsupported type for an argument.

Replace the argument type with a valid one.