Error with custom function in Zoho Flow

Error with custom function in Zoho Flow

Premium support provided me with code to post an expense in QBO using custom function in Zoho Flow. I get the error in screenshot. Support haven't been able to assist for about 2 months. Can anyone help?