AlchemyJ

by Axisoft

  • Features

  • Rule Engine

  • Resource

    • AJ Video
    • AJ Sample Model
    • AJ Template
    • AJ Excel Template
  • Download

  • Support

    • Blog
    • Docs
  • Buy

  • Contact Us

  • More

    Use tab to navigate through the menu items.
    To see this working, head to your live site.
    • Categories
    • All Posts
    • My Posts
    Adrien M
    Apr 19, 2021

    Template API not generating

    in Questions and Support

    Good evening,

    I tried several times to generate the API example following the tutorial on your website but each time I have this error message :

    What does it means and how can I solve it ?

    Thank you very much in advance.


    [INFO ] - -------------------------------------------------------------------

    [INFO ] - AlchemyJ (Community Edition) Startup ...

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - Start to prepare AlchemyJ workspace...

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - AlchemyJ Compiler Command-Line Parameter Information:

    [INFO ] - Compiler execution location: C:/Users/mhamd/Desktop/Excel API/AlchemyJ Community Edition/AlchemyJ Compiler/

    [INFO ] - Target folder location: C:/Users/mhamd/Desktop/Excel API/TMP/tmp-2021041922124000-##RestApi/

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - Copying studio output resources to compiler execution temp folder

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - AlchemyJ workspace is ready...

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - Start parsing studio output configuration file

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - Parsing studio output configuration file: index.json

    [INFO ] - Parsing studio output configuration file: REST API Sample Model2.xlsm/Compilation Config/%%SysConfig.json

    [INFO ] - Parsing studio output configuration file: REST API Sample Model2.xlsm/datadict.json

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - Failed to do studio output configuration parsing job, for details please refer to log file.

    [INFO ] - -------------------------------------------------------------------

    [ERROR] - Configuration file[REST API Sample Model2.xlsm/datadict.json] did not pass validation

    [ERROR] - Property path(dataDictDefConfigMap[DataDictionary].details), invalid value: ([]), message: ($.dataDictDefConfigMap[key=DataDictionary].details is empty(required))

    [ERROR] - ----------------Error Summary(For details check log file)----------------

    [ERROR] - Failed to parse data dict component definition

    [ERROR] - ---------------------------Error Summary(End)----------------------------

    [INFO ] - -------------------------------------------------------------------

    [ERROR] - AlchemyJ (Community Edition) Build Failure

    [ERROR] - Log path refer to C:/Users/mhamd/Desktop/Excel API/AlchemyJ Community Edition/AlchemyJ Compiler/logs

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - -------------------------------------------------------------------

    [INFO ] - AlchemyJ (Community Edition) Shut down...

    [INFO ] - -------------------------------------------------------------------

    =================================================

    End with error

    3 answers2 replies
    0
    1
    Benson Shiu
    Apr 20, 2021

    Hi Adrien,


    From the error log, the problem is likely caused by an empty data dictionary. If you don't mind sending us your Excel file, I can take a quick look at it.


    Benson

    Adrien M
    Apr 20, 2021

    Hello,

    I try to load the file even screen shots but it's not working...

    I kept everything empty or I may have missed something in the tutorial.

    0
    Adrien M
    Apr 21, 2021

    Hello again, maybe with this screen shot it will help you.

    Hope this is enough.


    0
    1
    Benson Shiu
    Apr 27, 2021

    Hi Adrien,


    This screen looks fine. I think it'd be easier to look at your file because this is quite strange. Normally, AJ Studio has validation checks to guard against an empty data dictionary.


    If you are uncomfortable with sharing your Excel model here in the forum, you can send it to enquiry@alchemyj.io. I will take a look at the model and post the findings here.

    1
    Benson Shiu
    Apr 29, 2021

    Hi Adrien,


    I have got your file and I can generate the API without any error. Are you sure it is the same file that generates the log? The log shows that the file should be "REST API Sample Model2.xlsm". The file I received is "REST API Sample Model1.xlsm"

    5 comments

    About    Contact    News    Partners    Privacy    Terms    Cookies Policy

    • LinkedIn