How To Fix /UI5/DTA036 - ZIP archive contains disallowed files or has an incorrect structure


SAP Error Message - Details

  • Message type: E = Error

  • Message class: /UI5/DTA -

  • Message number: 036

  • Message text: ZIP archive contains disallowed files or has an incorrect structure

  • Show details Hide details


  • Self-Explanatory Message

    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.



    What else can you do?

    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.


Smart SAP Assistant

  • What is the cause and solution for SAP error message /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:

    1. 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.
    2. 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.
    3. Missing Required Files: The ZIP file might be missing essential files that are required for the application to function correctly, such as manifest.json or Component.js.
    4. File Naming Issues: The names of files or folders may not conform to the expected naming conventions, which can lead to this error.
    5. Corrupted ZIP File: The ZIP file itself may be corrupted or improperly created, leading to structural issues.

    Solutions:

    1. 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/
        ¦   +-- ...
    2. 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.

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

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

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

    6. 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:

    • SAP Notes: Check for any relevant SAP Notes that might address specific issues related to this error message.
    • SAP Community: Engage with the SAP Community forums to see if others have encountered similar issues and what solutions they found effective.
    • Version Compatibility: Ensure that the version of SAP UI5 you are using is compatible with the application you are trying to deploy.

    By following these steps, you should be able to resolve the /UI5/DTA036 error and successfully upload your ZIP archive.

    • Do you have any question about this error?


      Upgrade now to chat with this error.


Instant HelpGet instant SAP help. Start your 7-day free trial now.


Related SAP Error Messages

Click the links below to see the following related messages:

Click on this link to search all SAP messages.


Rating
ERPlingo's SAP support assistant is amazing. Saves me countless hours trying to solve complex SAP issues myself. It's a real game changer!
Rate 1
Thomas Michael
SAP Consultant, Author & Speaker