Forum Discussion

AsimKhan2023's avatar
AsimKhan2023
Brass Contributor
Dec 14, 2023

Package Validation failed

My client has an azure application developed and is trying to create an offer for it in the marketplace. I added 2 JSON files coded/scripted in Windows VS Code and deployed on my client's Mac OS. After creating the zip folder for the application and deploying it in the marketplace I am receiving this error.

Package acceptance validation error: InvalidTemplate The template '__MACOSX/._createUiDefinition.json' is not a valid json file.

I ran a validation test on the JSON files also tried to search for some hidden folders and delete it but it is not working. Is there a workaround for this issue?

2 Replies

    • AsimKhan2023's avatar
      AsimKhan2023
      Brass Contributor

      Kidd_Ip Thank you for the help, I discovered that everytime I zipped the folder in Mac OS it automatically created the folder _MACOSX which was not required, there was no way to stop the MAC OS to create that folder inside the zipped folder. So I went ahead with Linux to create the zip folder and it worked. 

Resources