I have an action that interfaces with the Asana API to create a task. My implementation of the ApiClient instance is as follows, as per the Asana API documentation
const Asana = require('asana');
const defaultClient = Asana.ApiClient.instance;
However, I’m getting this error
TypeErrorCannot read properties of undefined (reading ‘instance’)
I’ve spoken to the guys in Asana on their developer forum and they have confirmed this implementation.
I’m using the same action in other workflows and it works fine. Seems as though the action can’t get the required package for this workflow. Asana did recently change their API and I suspect that Pipedream is getting the incorrect version of the asana package for this workflow only. Could it be some caching issue?