Fix issue on other content type not having bundles available
sample payload after the fix
[
{
"resource_id": "22",
"resource_type": "article",
"job_item_id": "480",
"content": {
"title": {
"#label": "Title",
"0": {
"value": {
"#text": "Launched Shopee in new markets across Latin America and Europe v12",
"#translate": true,
"#max_length": 255,
"#status": 0
}
}
},
"field_image": [],
"body": {
"#label": "Body",
"0": {
"value": {
"#label": "Text",
"#text": "<p>Shopee continues to serve the needs of buyers and sellers in each of our markets. v12</p>",
"#translate": true,
"#format": "basic_html",
"#status": 0
},
"format": {
"#label": "Text format",
"#text": "basic_html",
"#translate": false
},
"summary": {
"#label": "Summary",
"#text": "",
"#translate": true,
"#format": "basic_html"
}
}
},
"field_tags": [],
"uid": [
{
"target_id": {
"#text": "1",
"#translate": false
}
}
],
"created": [
{
"value": {
"#text": "1744364212",
"#translate": false
}
}
],
"promote": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"sticky": [
{
"value": {
"#text": "0",
"#translate": false
}
}
],
"comment": {
"0": {
"status": {
"#text": "2",
"#translate": false
},
"cid": {
"#text": "0",
"#translate": false
},
"last_comment_timestamp": {
"#text": "1744364218",
"#translate": false
},
"last_comment_name": {
"#text": null,
"#translate": true
},
"last_comment_uid": {
"#text": "1",
"#translate": false
},
"comment_count": {
"#text": "0",
"#translate": false
}
},
"#label": "Comments"
},
"path": {
"#label": "URL alias",
"0": {
"alias": {
"#label": "Path alias",
"#text": null,
"#translate": true
},
"pid": {
"#label": "Path id",
"#text": null,
"#translate": false
},
"langcode": {
"#label": "Language Code",
"#text": "en",
"#translate": false
}
}
},
"status": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"field_related_article": [],
"field_taxonomy_reference": [],
"changed": [
{
"value": {
"#text": "1745591582",
"#translate": false
}
}
],
"content_translation_outdated": [
{
"value": {
"#text": "0",
"#translate": false
}
}
],
"default_langcode": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"revision_translation_affected": [
{
"value": {
"#text": "1",
"#translate": false
}
}
]
}
},
{
"resource_id": "21",
"resource_type": "article",
"job_item_id": "481",
"content": {
"title": {
"#label": "Title",
"0": {
"value": {
"#text": "Held the first Shopee Brands Summit v12",
"#translate": true,
"#max_length": 255,
"#status": 0
}
}
},
"field_image": {
"0": {
"target_id": {
"#label": "File ID",
"#text": "43",
"#translate": false
},
"alt": {
"#label": "Alternative text",
"#text": "alternate",
"#translate": true,
"#status": 0
},
"title": {
"#label": "Title",
"#text": "",
"#translate": true
},
"width": {
"#label": "Width",
"#text": "300",
"#translate": false
},
"height": {
"#label": "Height",
"#text": "168",
"#translate": false
}
},
"#label": "Image"
},
"body": {
"#label": "Body",
"0": {
"value": {
"#label": "Text",
"#text": "<p>Hosting Shopee’s brand partners in Singapore, we unveiled our plans to better serve businesses and consumers, empowering our partners to scale new heights online v12</p>",
"#translate": true,
"#format": "basic_html",
"#status": 0
},
"format": {
"#label": "Text format",
"#text": "basic_html",
"#translate": false
},
"summary": {
"#label": "Summary",
"#text": "",
"#translate": true,
"#format": "basic_html"
}
}
},
"field_tags": {
"0": {
"target_id": {
"#text": "4",
"#translate": false
},
"entity": {
"status": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"name": {
"#label": "Name",
"0": {
"value": {
"#text": "cuisto",
"#translate": true,
"#max_length": 255,
"#status": 0
}
}
},
"description": {
"#label": "Description",
"0": {
"value": {
"#text": null,
"#translate": true
},
"format": {
"#text": null,
"#translate": false
}
}
},
"changed": [
{
"value": {
"#text": "1745575608",
"#translate": false
}
}
],
"default_langcode": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"revision_translation_affected": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"path": {
"#label": "URL alias",
"0": {
"alias": {
"#label": "Path alias",
"#text": null,
"#translate": true
},
"pid": {
"#label": "Path id",
"#text": null,
"#translate": false
},
"langcode": {
"#label": "Language Code",
"#text": "en",
"#translate": false
}
}
},
"#id": "4"
}
},
"#label": "Tags"
},
"uid": [
{
"target_id": {
"#text": "1",
"#translate": false
}
}
],
"created": [
{
"value": {
"#text": "1744364201",
"#translate": false
}
}
],
"promote": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"sticky": [
{
"value": {
"#text": "0",
"#translate": false
}
}
],
"comment": {
"0": {
"status": {
"#text": "2",
"#translate": false
},
"cid": {
"#text": "0",
"#translate": false
},
"last_comment_timestamp": {
"#text": "1744364207",
"#translate": false
},
"last_comment_name": {
"#text": null,
"#translate": true
},
"last_comment_uid": {
"#text": "1",
"#translate": false
},
"comment_count": {
"#text": "0",
"#translate": false
}
},
"#label": "Comments"
},
"path": {
"#label": "URL alias",
"0": {
"alias": {
"#label": "Path alias",
"#text": null,
"#translate": true
},
"pid": {
"#label": "Path id",
"#text": null,
"#translate": false
},
"langcode": {
"#label": "Language Code",
"#text": "en",
"#translate": false
}
}
},
"status": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"field_related_article": [],
"field_taxonomy_reference": [],
"changed": [
{
"value": {
"#text": "1745591628",
"#translate": false
}
}
],
"content_translation_outdated": [
{
"value": {
"#text": "0",
"#translate": false
}
}
],
"default_langcode": [
{
"value": {
"#text": "1",
"#translate": false
}
}
],
"revision_translation_affected": [
{
"value": {
"#text": "1",
"#translate": false
}
}
]
}
},
{
"resource_id": "system.menu.account",
"resource_type": "menu",
"job_item_id": "482",
"content": {
"label": {
"#label": "Label",
"#text": "User account menu",
"#translate": true,
"#status": 0
},
"description": {
"#label": "Menu description",
"#text": "Links related to the active user account",
"#translate": true,
"#status": 0
}
}
},
{
"resource_id": "system.menu.admin",
"resource_type": "menu",
"job_item_id": "483",
"content": {
"label": {
"#label": "Label",
"#text": "Administration",
"#translate": true,
"#status": 0
},
"description": {
"#label": "Menu description",
"#text": "Administrative task links",
"#translate": true,
"#status": 0
}
}
},
{
"resource_id": "system.menu.footer",
"resource_type": "menu",
"job_item_id": "484",
"content": {
"label": {
"#label": "Label",
"#text": "Footer",
"#translate": true,
"#status": 0
},
"description": {
"#label": "Menu description",
"#text": "Site information links",
"#translate": true,
"#status": 0
}
}
},
{
"resource_id": "system.menu.main",
"resource_type": "menu",
"job_item_id": "485",
"content": {
"label": {
"#label": "Label",
"#text": "Main navigation",
"#translate": true,
"#status": 0
},
"description": {
"#label": "Menu description",
"#text": "Site section links",
"#translate": true,
"#status": 0
}
}
},
{
"resource_id": "system.menu.tools",
"resource_type": "menu",
"job_item_id": "486",
"content": {
"label": {
"#label": "Label",
"#text": "Tools",
"#translate": true,
"#status": 0
},
"description": {
"#label": "Menu description",
"#text": "User tool links, often added by modules",
"#translate": true,
"#status": 0
}
}
}
]
Edited by Bryan Espino