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
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"
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.
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