Webflow's API behavior with CMS fields is so annoying. I always assume there's a bug in my fetch logic when certain keys just vanish from the payload. Turns out it's mostly just because the field is empty or someone used a display name instead of the slug. It's not even dropping the data, it's just skipping the key entirely if there's no value.
>The API usually isn't dropping it. Items with no stored value come back without that keyThat explains so many of my undefined errors in Next.js. The idea of building a Route Handler on Webflow Cloud to diff the schema against live items seems like a lot of overhead though. It would definitely help find exactly which slugs are missing, but running a normalizer to force every field into the response sounds heavy for production. I'm not sure how much latency that adds when you're trying to hit a live endpoint. Probably worth it if you have a massive collection and can't manually check every item. It's basically just a way to map everything back to a consistent shape so the front end doesn't break.
more here:
https://www.webflow.com/blog/fix-webflow-api-missing-fields