googleapis / googleapis/google-api-nodejs-client

gmail.users.threads.get hangs forever

Open
#3,418 4 comments 0 reactions 1 assignee Claimed by @sofisl View on GitHub
api: gmail priority: p2 type: bug
Dominant language
TypeScript
Stars
12.2k
Forks
2k
Avg merge
1d 9h
Merged PRs (30d)
24

Description

#### Environment details

- OS: MacOS Ventura 13.2
- Node.js version: v21.4.0
- npm version: 10.2.4
- `googleapis` version: 105.0.0

#### Steps to reproduce

Reproduction is not simple. Basically:
1. I have a custom email client which fetches threads from GMail.
2. I am able to fetch 1867 threads without issues, but there are 3 threads with IDs that I noted down, that hang up `gmail.users.threads.get` forever (it is never resolved nor rejected).
3. If I hardcode these 3 IDs in my code to skip them, everything works fine.

I'd be happy to provide additional data if needed. Also, I tested these IDs on the Google API website API tester and it provides correct result, so it seems like this is an issue with this library.

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.