Hello,
I have a problem with saving a simple single type.
I created two nearly similar single types:
{
"kind": "singleType",
"collectionName": "activity_carousels",
"info": {
"name": "ActivityCarousel"
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": false
},
"attributes": {
"title": {
"type": "string"
}
}
}
{
"kind": "singleType",
"collectionName": "city_carousels",
"info": {
"name": "CityCarousel"
},
"options": {
"increments": true,
"timestamps": true,
"draftAndPublish": false
},
"attributes": {
"title": {
"type": "string"
}
}
}
When I try to save the city carousel in admin I got the following error: Invalid input data. Please verify unique constraints.
I don’t have this problem with the activity carousel. And when I create another single type with same settings and name it just carousel I also don’t get this error.
I don’t get and understand it. I there some strange naming issue? I don’t know how I can find the error. In network requests I also see an error on edit page for city carousel:
Request URL: http://localhost:1337/content-manager/single-types/application::city-carousel.city-carousel
Request Method: GET
Status Code: 404 Not Found
Thanks for some help!
Best regards,
Timo