Open pipedream-component-development opened 2 days ago
Hi @sergio-eliot-rodriguez, seems like we need to add the environment (us or eu) that defines the base url.
The current oauth only works for us, but it seems the user is using eu env
@vunguyenhung actually the app configuration already supports it, this is a bug in the component code: https://github.com/PipedreamHQ/pipedream/blob/master/components/wrike/wrike.app.mjs#L75
We're currently extracting the host during the OAuth flow -- for example,
"host": "app-us2.wrike.com",
So that value should be accessible to the components like this:
this.wrike.$auth.host
App
Wrike
Summary:
Error finding FolderID in Workflow Action Wrike New Task
Details:
When i click the FolderID i get the following message: {"errorDescription":"Access token is unknown or invalid","error":"not_authorized"}
Account is successful connected
After forwarding this error to Wrike i get the following answer: "It appears that the error is due to an incorrect Wrike base URL being sent by Pipedream. Could you verify that all requests are made using the base URL https://app-eu.wrike.com/api/v4/?"
Screenshots:
https://www.loom.com/share/f49d9d298f994d77835a6503a9ba8a83