Issue
When I use the List API call (e.g. listDNASequences, listContainers, etc.), I get a ReadTimeout error. I know I'm not exceeding the API rate limit and the same calls with a bigger volume of data get successfully called.
Environment
API, SDK
Cause
The Benchling SDK client uses a default timer of 5 seconds but this can be ovewritten/increased. There are many factors that contribute to the response time for an endpoint (and doubly so when it's a list endpoint) but the general advise is to accommodate for slightly higher response times by increasing the default timeout in the SDK.
Resolution steps
Increase the timeout by following this sample code for customizing the BenchlingApiClient.