Do you have any question about this error?
Message type: E = Error
Message class: /UI5/DTA -
Message number: 036
Message text: ZIP archive contains disallowed files or has an incorrect structure
Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of messages in the SAP system have a message text, however this is frequently insufficient to comprehend or resolve the problem.
To make things easier, more detailed information is frequently added to describe the issue, how to fix it, and the necessary steps or configuration modifications.
Unfortunately, there isn't any extra information in this error notice.
First, use our AnswerBot below to get a possible cause and solution (requires a premium subscription).
Also, review the in-depth Common Questions & Answers listed below; you could discover a solution there or be able to connect with others who have faced similar challenges.
You can also try searching the SAP support portal (support.sap.com) but you need a special user ID to access it. It is possible that an SAP support note exists that provides additional details about the mistake or even steps for fixing it.
/UI5/DTA036
- ZIP archive contains disallowed files or has an incorrect structure ?The SAP error message
/UI5/DTA036 ZIP archive contains disallowed files or has an incorrect structure
typically occurs when you are trying to upload a ZIP archive that does not meet the expected structure or contains files that are not allowed. This error is often encountered in the context of SAP Fiori/UI5 applications when deploying or importing resources.Causes:
- Incorrect Structure: The ZIP file may not have the correct directory structure. For example, the expected structure might require certain folders or files to be at specific levels within the archive.
- Disallowed Files: The ZIP archive may contain files that are not permitted, such as certain configuration files, hidden files (like
.DS_Store
on macOS), or other non-standard files.- Missing Required Files: The ZIP file might be missing essential files that are required for the application to function correctly, such as
manifest.json
orComponent.js
.- File Naming Issues: The names of files or folders may not conform to the expected naming conventions, which can lead to this error.
- Corrupted ZIP File: The ZIP file itself may be corrupted or improperly created, leading to structural issues.
Solutions:
Check Structure: Ensure that the ZIP file has the correct structure. Typically, the root of the ZIP should contain the necessary files and folders directly, without additional nested folders.
- Example structure:
myApp.zip +-- manifest.json +-- Component.js +-- webapp/ ¦ +-- controller/ ¦ +-- view/ ¦ +-- ...
Remove Disallowed Files: Inspect the contents of the ZIP file and remove any files that are not needed or are disallowed. This includes hidden files and any unnecessary configuration files.
Validate Required Files: Make sure that all required files for the SAP UI5 application are present in the ZIP archive. The
manifest.json
file is particularly important.Recreate the ZIP File: If you suspect that the ZIP file is corrupted, try recreating it. Use a reliable ZIP utility and ensure that you are compressing the correct files and folders.
Use SAP Tools: If you are using SAP Web IDE or Business Application Studio, use the built-in tools to package your application, as they will automatically create the correct structure and include necessary files.
Check Documentation: Refer to the official SAP documentation for guidelines on packaging and deploying UI5 applications. This can provide insights into the expected structure and requirements.
Related Information:
By following these steps, you should be able to resolve the /UI5/DTA036
error and successfully upload your ZIP archive.
Get instant SAP help. Start your 7-day free trial now.
/UI5/DTA035
Error while writing file '&1&2&3' into layer '&4' of the LRep
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/UI5/DTA034
Error while reading zip archive: File '&1&2'
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/UI5/DTA037
Error while deleting/writing file '&1&2&3' from/to layer '&4' of the LRep
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
/UI5/DTA038
File '&1&2&3' written into layer '&4' of the layered repository
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.