Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error deploying action Returned HTTP 503 (Service Unavailable) --> "Response Missing Error Message." #24

Open
icaraps opened this issue Apr 4, 2022 · 2 comments

Comments

@icaraps
Copy link

icaraps commented Apr 4, 2022

In the setup where an action index.js and its dependencies is zipped with :

const rtLib = require('@adobe/aio-lib-runtime')

rtLib.utils.zip(
  'dist/application/actions/pages-temp',
  'dist/application/actions/pages.zip'
)

adding const { Core } = require('@adobe/aio-sdk'); to the action and deploying it to runtime with aio app deploy --no-web-assets --no-build fails with the following error:

 ›   Error: PUT https://adobeioruntime.net/api/v1/namespaces/mynamespace/actions/actions/pages Returned HTTP 503 (Service Unavailable) --> "Response Missing Error Message."
@purplecabbage
Copy link
Member

if you are zipping without building the action, you are responsible for packaging its dependencies too.
Isn't this just a case of the dependency not being part of the zip?

@icaraps
Copy link
Author

icaraps commented May 27, 2022

No it seems like all dependencies are packaged but the sdk isnt able to find them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants