This is my first post to the community, so please be patient if I haven’t gotten this formatted right on the first go. Also please be patient if I don’t provide enough info right off. I can update as necessary
Also please not that due to project limitations I am unable to use Node.JS, so I am prepping all my queries “manually” and sending them out via XMLHttpRequest(); once I have them built. I am also not using any other frameworks or services like Adalo or anything.
I am working on a small web app using Airtable, and I’ve come across a couple oddities when getting records. I’ve tried searching for info on this but haven’t had much luck.
1: When i send a request like this:
https://api.airtable.com/v0/[BASE ID]/Studies?maxRecords=5
I get back five records, but my expectation would be to get either the first five records or the last five records of the table. Instead I get what seem like five arbitrary records.
The table I’m testing with has records with a UniqueID field that goes ID1, ID2, ID3, ID4, ID5, (up to ID229) but the records returned are ID11, ID88, ID96, ID196, ID227
Not sure why this is happening, or how to try to track it down.
2: When I send a request like this:
https://api.airtable.com/v0/[BASE ID]/Studies
I get back 100 records, but some records appear to be left out; such as ID1, ID6, ID7, etc.
In both of the above cases, it seems as if it picks/omits the same records each time I refresh the page.
Stumped at the moment on what this is all about. Hoping someone can shed some light on these issues?
Thanks!