Expand my Community achievements bar.

AEM adaptive forms rest service test return 403

Avatar

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. 

aemuser2021_0-1713174237888.png

 

Error logs:

*INFO* [24.239.128.68 [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* [24.239.128.68 [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

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

1 Reply