Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Test Form Data Model throwing error

Ashish23
Level 1
Level 1

I am using MySQL Workbench with AEM Forms in AEM 6.5.

After installing bundle mysql-connector-java-8.0.20.jar, able to fetch table in Form Data Model.

But when I try to test get/insert service, error message.

error1.PNG

I am getting below error in erro.log:

 

11.05.2020 14:59:36.792 *ERROR* [0:0:0:0:0:0:0:1 [1589189376783] POST /content/dam/formsanddocuments-fdm/xyz/test.executeDermisQuery.json HTTP/1.1] com.adobe.aem.dermis.core.servlet.DermisBridgeServlet Encountered an error while executing operation

 

I would appreciate if someone shares the solution.

3 Replies
Mayank_Gandhi
Community Advisor
Community Advisor

Looks like connection to DB is slow or breaking in between the call. Check SQL workbench if its able to execute the query

Ashish23
Level 1
Level 1
SQL workbench is working fine. I executed insert, update, create queries. All executed fine. Getting this issue always, although I can see tables in AEM form data model. Issue is while testing get/insertservices.
Mayank_Gandhi
Community Advisor
Community Advisor
Try to insert same values as DATA model from workbench.