Initialization has failed due to: There was an error uncompressing the action archive.

Avatar

Avatar

RMGJID

Avatar

RMGJID

RMGJID

10-01-2020

Hi,

 

I'm following the documentation for creation the web actions. I'm able to successfully deploy using wskdeploy, but when i'm invoking the action, it throws the following error. Any input on what may be doing wrong?

 

Initialization has failed due to: There was an error uncompressing the action archive.

 

Documentation link - https://adobedocs.github.io/adobeio-runtime/guides/creating_actions.html

View Entire Topic

Avatar

Avatar

Mihai_Corlan

Employee

Avatar

Mihai_Corlan

Employee

Mihai_Corlan
Employee

24-01-2020

Hello there,

 

Can you try using wsk for deploying your ZIP? 

There is another way of deploying a ZIP action using the wsk command. You miss the manifest.yaml file flexibility with this mode; you can’t define multiple actions/packages at the same time. The ZIP file has to have in the root the package.json file.
wsk action create my-action --kind nodejs:10 zip-file.zip

cheers,
Mihai