Fetch data form APIM returns a Content modified message instead of the data | Community
Skip to main content
August 28, 2024
Question

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

  • August 28, 2024
  • 1 reply
  • 857 views

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);

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

SachinJa4
Level 2
August 29, 2024

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

GiaBu1Author
September 8, 2024

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