PipedreamHQ / PipedreamHQ/pipedream

Pipedream Connect

Open
#18,638 0 comments 0 reactions 0 assignees View on GitHub
bug tracked internally triaged user request
Dominant language
JavaScript
Stars
11.7k
Forks
5.8k
Avg merge
3d 10h
Merged PRs (30d)
102

Description

### App
Pipedream Connect

### Summary:
Frontend SDK returns account IDs that don't exist in backend API

### Details:
When users connect Gmail through the Pipedream browser SDK, the connectAccount() method completes successfully and returns an account ID. However, when querying pd.accounts.list() from the Python backend SDK (pipedream==1.0.8), those account IDs don't exist.
Project ID: proj_Daslrz7
Environment: development
External User ID: 8d6126ed-dfb5-4fff-9d72-b84fb0cb889a
Account IDs returned by frontend but not found in backend:

apn_dbhWwbx (created ~06:37 UTC, Oct 4 2025)
apn_kVhkEoV (created ~07:05 UTC, Oct 4 2025)
apn_yghA7Ar (created ~07:10 UTC, Oct 4 2025)

When backend tries to use these account IDs for Gmail API proxy calls, I get: 400 Bad Request: {'error': {'account': ['account and user mismatch']}}
This appears to be because the accounts don't exist in Pipedream's system at all, despite the frontend OAuth flow completing successfully.
Browser console shows this error during OAuth: "A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received"

### Screenshots:
No screenshots included

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.