Hi,
I am getting the following error when I try to import and application. How can I find out what the issue is? Or how can I fix it?
The specified file does not contain a valid package and cannot be imported. (APNX-1-4154-000)
Thanks,
Roberta
Discussion posts and replies are publicly visible
What are you attempting to import? Is it something you exported yourself, or got from elsewhere? Is it something you can attempt to re-export?
Hi Mike,
I exported myself during my Appian training. I cannot re-export as the files do not exist anymore.
Where can I find information on what this error number mean to try to debug this? (if you know)
I don't know if there's any public-facing explanation for what those error numbers mean (i wouldn't be surprised if it's something fairly generic, though). The only thing I could suggest is maybe attaching your application package here and letting others look at it, assuming there's nothing private/sensitive in the export.
In short, the app package needs to be a zip file and inside that, it needs to contain certain files that Appian expects to see. Without more detail (or the file itself) it would be pretty hard to guess what may have happened - a corrupted download, etc.
Thank you, Mike.
RB Customer Relationship Management.zip
There is nothing private, just a business case project I did. The file is attached.
I have another project as well and got the same error.
There appears to be an extra unnecessary nested folder in the root directory of your ZIP file. A valid application package zip file will have certain folders immediately at its root, usually "META-INF", "application", "content", "group", etc.
In yours, it has all of those but they're under a different top-level folder named "RB Customer Relationship Management" -- almost as if someone extracted the original application package into a folder in Windows, and then created a new zip file including that folder as the top-level, for some reason. As far as I know, this is never the way the ZIP files are created by the Appian export process.
Hi Roberta
It seems your zip file ('RB Customer Relationship Management') contains a folder (also named 'RB Customer Relationship Management') which then contains the Appian content that should be imported. I've looked at a couple of other example Application Exports and it looks like you shouldn't have the containing folder.That is, when you open the zip file you should see the following:
Hi robertab0001,
As Mike said the file you have attached seems to have been created outside of Appian. I have attached the zip here with the necessary files. See if that works
2816.RB Customer Relationship Management.zip
Good to know about the extra root directory. I have created a new zip file without that and it worked!
Good vibes 2020 to you.
Thanks for confirming / verifying! Glad to hear it's working for you.