Why am I Facing an Error While Using Integrations Like Gmail or Sheets Despite Being on the Advanced Plan?

This topic was automatically generated from Slack. You can find the original thread here.

An error occurred while calling the tool: Error: HTTP error! status: 400, body: {\"error\":\"The component API is not available on your current plan. Visit pipedream.com/pricing to contact our sales team.\"}",
  "success": true

Facing issue while using integrations like gmail or sheets. I am at Advanced Plan

You’ll need the Connect plan to use Connect in production.

Ok I will upgrade but I am also facing 401:
Failed to fetch Pipedream apps: Client error '401 Unauthorized' for url 'https://api.pipedream.com/v1/apps'\nFor more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401"
}

When loading apps.

That sounds like an issue with how you’re authenticating to the API.

It works just fine after restarting services, and automatically starts giving error after 2-3 hrs.

Oh it sounds like you aren’t refreshing tokens. Are you using the SDK or REST API? If using the SDK we’ll automatically refresh access tokens for you. If using the REST API, you need to handle the access token expiry on your end (it’s 1 hour).

Fyi we’re going to publish Python and Java SDKs in the next couple weeks.

Hey @U095YUJK1T4
I am also working on a invoking workflow which has gmail and sheets in it.
Where i am stuck right now is i want a list of sheets the user has before invoking the flow so i could use the sheet id and provide it to workflow?
Can you guys let me know any workaround this?

It’s not a workaround, you can use a Google Sheet tool to list all the sheets the user has: Executing Actions - Pipedream