Expand my Community achievements bar.

Fetch data form APIM returns a Content modified message instead of the data

Avatar

Level 1

I'm using aem adaptive form 6.5 
After I upgrade aem service package and form addon package to newest version 6.5.21
When I try to fetch the data from the api on author mode the api return message content modify instead of the data
Response error form api
<html>
<head>
<title>Content modified /content/forms/af/../jcr:content/guideContainer</title>
</head>
<body>
<h1>Content modified /content/forms/af/...../jcr:content/guideContainer</h1>
<table>
<tbody>
<tr>
<td>Status</td>
<td><div id="Status">200</div></td>
</tr>

What can cause this issue ?


 

Rule fetch data from api
var operationInfo = {
"formDataModelId": ""
"operationTitle": "",
"operationName": ""
};
var inputs = {

};


var outputs = {

};

var success = function (wsdlOutput, textStatus, jqXHR) {
var responseJSON = JSON.parse(wsdlOutput);
};
var failure = function(textStatus){

};
guidelib.dataIntegrationUtils.executeOperation(operationInfo, inputs, outputs, null, failure, this);

 

 

2 Replies

Avatar

Level 2

You might check the below points. I haven't encountered this so not sure if these suggestions work

Clear the AEM cache and ensure that no content is locked. You can try restarting AEM to refresh the cache. Also, verify that there are no content locks by checking the CRX/DE Lite.

Ensure that the user or service account making the API request has the necessary permissions to access the content.

Check the AEM error logs and the error.log file for more detailed information about what might be causing the issue.

Verify the form components and ensure they are configured correctly. Review any logs related to the Adaptive Forms component for errors or warnings.

Check the configuration of your AEM instances to ensure that they are aligned, especially with respect to content versions and replication

Avatar

Level 1

I have  found the issue that after upgraded form-add-on package . It's clear data source config 
so I have to config again and it's working back

GiaBu1_0-1725803768723.png