Closed
Description
When i made PUT/POST/... request on my entity
page_blocks
i get this error:
"There is no PropertyInfo extractor supporting the class "stdClass"."
"file": "/vendor/api-platform/core/src/Bridge/Symfony/PropertyInfo/Metadata/Property/PropertyInfoPropertyNameCollectionFactory.php",
"line": 46,
Postman request:
PUT: /api/page_blocks
raw body:
{
"page":"/api/pages/2020",
"type":"image",
"draggable":true,
"name":"featured_image",
"label":"Header Featured Image",
"description":"",
"status":0,
"content":"{\"fields\":{\"title\":{\"value\":\"\"},\"images\":[{\"id\":0,\"categoryId\":0,\"uri\":\"/api/pictures\",\"resource\":\"{}\",\"description\":\"\",\"alt\":\"\",\"type\":\"picture\",\"text\":\"\",\"src\":\"\"}],\"alternativeAudio\":{},\"caption\":\"\"},\"showCaption\":false,\"alternativeContent\":false,\"alternativeAudioContent\":false,\"blockLayout\":\"default\"}",
"renderOrder":6,
"groupName":"header",
"className":"ImageBlockComponent",
"parentId":0
}