adobe / adobe/aio-sdk

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

Open
#24 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
15
Forks
7
PR merge metrics
No merged PRs in 30d

Description

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."
```

Contributor guide

Open the contributing guide

Research direction

Start with the action's index.js, the @adobe/aio-sdk Core require, and the aio-lib-runtime zip invocation. Reproduce the failure with aio app deploy --no-web-assets --no-build; done means determining why deployment returns HTTP 503 and making the deployment succeed or expose a meaningful error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cloud
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.