-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Accelerated need to limit large url requests to “list records”, with alternative POST version #95
Comments
Thanks for the heads up Fred, I guess we'll see if anyone is impacted by this. I'm not developing on Airtable actively anymore, but if there's a need I might be able to carve out some time to make a PR. |
I ran into (I think) this issue today, while trying to find associated records from a parent row, maybe when there's a lot of child rows, kept getting 414 communication error which Mozilla says = URL too long. |
@FredZhao-at Thanks so much for communicating this! I've put in a PR to switch the list-records call over to POST. Tangentially related question, and I'll preface by saying it's really a moot question now that we're switching to POST. But I wanted to ask out of curiosity, because I thought the behavior was strange. Do you know of any special behavior regarding indexed vs non-indexed array params, |
Hi! Fred here again, from the Airtable API team. Another update is that as part of recent infrastructure improvements to airtable.com, we needed to accelerate enforcement of rejecting any requests whose request URLs exceed 16k characters. The changes described below are in effect today.
/v0/{baseId}/{tableIdOrName}
(https://airtable.com/developers/web/api/list-records)filterbyFormula
is long enough to make the overall URL length to exceed that character limit/v0/{baseId}/{tableIdOrName}/listRecords
, and encode the query params as the body of that POST request. We currently still require two parameters to remain as query params,timeZone
anduserLocale
; you can see the full details and examples here: https://support.airtable.com/docs/enforcement-of-url-length-limit-for-web-api-requestsThe text was updated successfully, but these errors were encountered: