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

Large skill-package files are generating ERR_FR_MAX_BODY_LENGTH_EXCEEDED Request body larger than maxBodyLength limit #480

Closed
doiron opened this issue Jun 23, 2023 · 1 comment
Assignees

Comments

@doiron
Copy link
Contributor

doiron commented Jun 23, 2023

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request 
[ ] Other... Please describe: 

Large skill-package files are generating ERR_FR_MAX_BODY_LENGTH_EXCEEDED Request body larger than maxBodyLength limit


==================== Deploy Skill Metadata ====================
Uploading the entire skill package and building the models. Normally it takes a few minutes...
  ✖ Retrieving skill id...
    → [Retrieving skill id...] task stopped polling for status.
  ✖ Retrieving import id...
    → [Retrieving import id...] task stopped polling for status.
  ✖ [Interaction Model] Import model builder task.
    → [Interaction Model] task stopped polling for status.
[Warn]: [Retrieving skill id...] task stopped polling for status.
[Error]: {
  "errorMessage": "The request to https://skill-uploads-prod-na.s3.amazonaws.com/**** failed. Client Error: Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit"

Expected Behavior

should deploy the skill as expected

Current Behavior

it throws an error

CLI Snapshot

==================== Deploy Skill Metadata ====================
Uploading the entire skill package and building the models. Normally it takes a few minutes...
  ✖ Retrieving skill id...
    → [Retrieving skill id...] task stopped polling for status.
  ✖ Retrieving import id...
    → [Retrieving import id...] task stopped polling for status.
  ✖ [Interaction Model] Import model builder task.
    → [Interaction Model] task stopped polling for status.
[Warn]: [Retrieving skill id...] task stopped polling for status.
[Error]: {
  "errorMessage": "The request to https://skill-uploads-prod-na.s3.amazonaws.com/**** failed. Client Error: Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit"

Steps to Reproduce (for bugs)

Possible Solution

Available mitigation:

npm uninstall -g ask-cli
npm install [email protected]

this uses request instead of axios and does not experience this error

Your Environment and Context

  • ask-cli version: 2.30.0 | 2.30.1 | 2.30.2
  • Operating System and version: Mac
  • Node.js version used for development: 16/18
  • NPM version used for development: v9.6.2
@doiron doiron self-assigned this Jun 23, 2023
doiron pushed a commit that referenced this issue Jun 23, 2023
doiron added a commit that referenced this issue Jun 23, 2023
fix: updating axios to resolve issue #480
@doiron
Copy link
Contributor Author

doiron commented Jun 23, 2023

just released [email protected] with the fix
see https://www.npmjs.com/package/ask-cli for installation instructions and keep up with the latest versions.

@doiron doiron closed this as completed Jun 23, 2023
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

1 participant