Expand my Community achievements bar.

Adobe Journey Optimizer Community Lens 6th edition is out.

Fragment API issues

Avatar

Level 4

Hello,

 

I'm playing with the content fragment api 

The documentation seems outdated. Can anyone help?

 

Issue 1:

A "GET" doesn't return the node fragment/content. Instead it returns variants/variantId without any content

 

Issue 2:

When trying to "PUT" with the sample payload I get an (useless) error

{
    "path": "/fragments/xxxx",
    "request-id": [
        "VaJhHcE3fqW4pxyBtryHf70Y1qtnc2g3"
    ],
    "type": "https://ns.adobe.com/aep/errors/JOMAL-0001-500",
    "title": "Internal Server Error",
    "status": 500,
    "report": {
        "tenantInfo": {
            "sandboxName": "xxxx",
            "sandboxId": "missing",
            "imsOrgId": "xxxx"
        },
        "additionalContext": {
            "detailedMessage": "value"
        }
    },
    "error-chain": [
        {
            "serviceId": "message-authoring-service",
            "errorCode": "JOMAL-0001-500",
            "invokingServiceId": "43c8b7d7a31f4f2582048cc376b261ed",
            "unixTimeStampMs": 1715009280490

        }
    ]
}

Issue 3:

When using "POST" with the sample code, the fragment is created. But I don't see the POSTed content in the AJO UI.

 

Issue 4:

For "POST" the field "origin" is "required" and is an Enum: "ajo" and "external" according to the documentation.

However when sending "external" I receive the error message.

...
"additionalContext": {
"$.source.origin": "[\"$.source.origin: does not have a value in the enumeration [ajo, aem]\"]"
}
...
 

Thanks!

0 Replies