I am having this weird issue where the API is returning the following error, even though the fields are in webflow.
"msg": "Validation Failure",
"code": 400,
"name": "ValidationError",
"path": "/collections/5ec30089e5ad983217e86c24/items",
"err": "ValidationError: Validation Failure",
"problems": [
"Field 'url': Field not described in schema",
"Field 'longitude': Field not described in schema",
"Field 'latitude': Field not described in schema"
],
"problem_data": [
{
"slug": "url",
"msg": "Field not described in schema"
},
{
"slug": "longitude",
"msg": "Field not described in schema"
},
{
"slug": "latitude",
"msg": "Field not described in schema"
}
],
Iām so stumped as to what to do. Iāve tried deleting them and using string instead of url. Iāve tried republishing them. Iāve tried pulling them on the Get Collection API (they donāt appear).
I might be misunderstanding here, but you canāt ask for specific fields in the query. Just the collection items (which will return all fields anyways).
Edit: Oh wait, youāre trying to post? tried using case sensitive field names?
The field name that you see in the CMS Editor (in the designer) might not be the actual name of the field. You need to request the schema for that specific collection list and work with the slugs presented in the JSON response
It would be great is we could control the publish date from the API. Otherwise when I update it, it updates the publish date which is weird.
Iām helping a screen recorder CloudApp with their site and they need some major changes done to the blog so Iām trying to use the API to do them but because Iām not setting the Date Published values manually in the web interface it is just resetting the published date. Is there a field that I can hit that isnāt private that would allow me to prevent this issue?