The Invalid Extension error is issued in the following situation:
Change <parameter> default value in Integration Studio, go to Add/Remove References and refresh Extension reference: the definition of an extension action has a default value for an input parameter that is not a literal.
Open Integration Studio, edit the extension, select the action, and change the default value of this parameter to a literal. In Service Studio you have to refresh this reference, through the Add/Remove References window.
About Error Messages