Hi @Alma , Thanks for the answer and the help!
I have tried the request again with the value you told me but it is still not working. Here is the JSON
from the Content-Type:
{
"name": "Entity - Product",
"description": "",
"displayField": "id",
"fields": [
{
"id": "id",
"name": "id",
"type": "Symbol",
"localized": false,
"required": true,
"validations": [
{
"unique": true
}
],
"disabled": false,
"omitted": false
},
{
"id": "pageMetadata",
"name": "page metadata",
"type": "Link",
"localized": false,
"required": true,
"validations": [
{
"linkContentType": [
"page"
],
"message": "You must define the page info"
}
],
"disabled": false,
"omitted": false,
"linkType": "Entry"
},
{
"id": "backgroundImage",
"name": "background image",
"type": "Link",
"localized": false,
"required": true,
"validations": [],
"disabled": false,
"omitted": false,
"linkType": "Asset"
},
{
"id": "image",
"name": "image",
"type": "Link",
"localized": false,
"required": true,
"validations": [],
"disabled": false,
"omitted": false,
"linkType": "Asset"
},
{
"id": "title",
"name": "title",
"type": "Symbol",
"localized": true,
"required": true,
"validations": [],
"disabled": false,
"omitted": false
},
{
"id": "content",
"name": "content",
"type": "RichText",
"localized": true,
"required": true,
"validations": [
{
"nodes": {}
}
],
"disabled": false,
"omitted": false
},
{
"id": "whatsIn",
"name": "whats in",
"type": "Link",
"localized": false,
"required": true,
"validations": [
{
"linkContentType": [
"whatsIn"
]
}
],
"disabled": false,
"omitted": false,
"linkType": "Entry"
},
{
"id": "relatedProducts",
"name": "relatedProducts",
"type": "Link",
"localized": false,
"required": true,
"validations": [
{
"linkContentType": [
"productsSection"
]
}
],
"disabled": false,
"omitted": false,
"linkType": "Entry"
}
],
"sys": {
"space": {
"sys": {
"type": "Link",
"linkType": "Space",
"id": "hgk81q2huere"
}
},
"id": "entityProduct",
"type": "ContentType",
"createdAt": "2020-06-18T09:46:29.156Z",
"updatedAt": "2020-06-18T09:46:29.586Z",
"environment": {
"sys": {
"id": "master",
"type": "Link",
"linkType": "Environment"
}
},
"publishedVersion": 1,
"publishedAt": "2020-06-18T09:46:29.586Z",
"firstPublishedAt": "2020-06-18T09:46:29.586Z",
"createdBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "2WqJ9wiNgDQQeY0oUpLgZy"
}
},
"updatedBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "2WqJ9wiNgDQQeY0oUpLgZy"
}
},
"publishedCounter": 1,
"version": 2,
"publishedBy": {
"sys": {
"type": "Link",
"linkType": "User",
"id": "2WqJ9wiNgDQQeY0oUpLgZy"
}
}
}
}
And the values I have tried are these ones:
And the response I get is still this one:
{
"sys": {
"type": "Error",
"id": "NotFound"
},
"message": "The resource could not be found.",
"requestId": "a9687cf515f5792088f8bf9b531ebab1"
}
Could you please tell me if I am missing something or if I have used the wrong value?