Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

AEM adaptive forms rest service test return 403


Level 3

Hi All,


I'm trying to configure Datasource by using Swagger (.yaml) and then creating a Form Data Model which will use DataSource. In swagger definition, there's a  path to the AEM servlet which has the all the logic to make Http requests to to third APIs and get the response. When I click on "Test", ideally it should show the API response here as an output but I'm getting below error. It works fine on my local instance though. 



Error logs:

*INFO* [ [1713156292415] POST /content/dam/formsanddocuments-fdm/testfdm/swagger-test-v2-json.executeDermisQuery.json HTTP/1.1] com.adobe.aem.dermis.core.rest.service.RestInvoker request executed. Request Endpoint: <Dev-URL-endpoint>, Method: GET, Response status: 403, Time Taken (seconds) : 0.027

*ERROR* [ [1713156292415] POST /content/dam/formsanddocuments-fdm/testfdm/swagger-test-v2-json.executeDermisQuery.json HTTP/1.1] com.adobe.aem.dermis.core.servlet.DermisBridgeServlet Encountered an error while executing operation


Has anyone encountered this type of issue before while setting up Datasource in Adaptive Forms?


Topics help categorize Community content and increase your ability to discover relevant content.

1 Reply