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

strapi export error Request failed with status code 404 #20100

Open
BigDaddy-Zephyr opened this issue Apr 12, 2024 · 1 comment
Open

strapi export error Request failed with status code 404 #20100

BigDaddy-Zephyr opened this issue Apr 12, 2024 · 1 comment
Assignees
Labels
issue: bug Issue reporting a bug severity: medium If it breaks the basic use of the product but can be worked around source: core:data-transfer Source is core/data-transfer package status: pending reproduction Waiting for free time to reproduce the issue, or more information

Comments

@BigDaddy-Zephyr
Copy link

Bug report

Required System information

  • Node.js version: v20.12.2
  • NPM version: 10.5.0
  • Strapi version: 4.23.0
  • Database: Postgres | Supabase
  • Operating system: MacOS Sonoma 14.1.1
  • Is your project Javascript or Typescript: Javascript

Describe the bug

I try to run the command npm run strapi export but it gives me this error


 npm run strapi export 

> strapi-base@0.1.0 strapi
> strapi export

? Please enter an encryption key [hidden]
(node:38166) Warning: S3 configuration options passed at root level of the plugin's providerOptions is deprecated and will be removed in a future release. Please wrap them inside the 's3Options:{}' property.
(Use `node --trace-warnings ...` to show where the warning was created)
Starting export...
✔ schemas: 155 transfered (size: 112.9 KB) (elapsed: 6 ms) 
✔ entities: 574 transfered (size: 648.4 KB) (elapsed: 22145 ms) 
⠙ assets: 9 transfered (size: 879.3 KB) (elapsed: 1262 ms) (696.8 KB/s)node:events:496
      throw er; // Unhandled 'error' event
      ^

Error: Request failed with status code 404
    at ClientRequest.<anonymous> (/Users/bigdaddy/Desktop/moshi_moshi/rnr/rnr-strapi/node_modules/@strapi/data-transfer/dist/index.js:2304:17)
    at Object.onceWrapper (node:events:633:26)
    at ClientRequest.emit (node:events:518:28)
    at ClientRequest.emit (node:domain:488:12)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (node:_http_client:698:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at TLSSocket.socketOnData (node:_http_client:540:22)
    at TLSSocket.emit (node:events:518:28)
    at TLSSocket.emit (node:domain:488:12)
    at addChunk (node:internal/streams/readable:559:12)
Emitted 'error' event on Duplexify instance at:
    at emitErrorNT (node:internal/streams/destroy:169:8)
    at emitErrorCloseNT (node:internal/streams/destroy:128:3)
    at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

Node.js v20.12.2

Additional context

This error message is the same as #18827 but I am not using strapi-provider-upload-imagekit

This is my package.json

{
    "@strapi/plugin-i18n": "4.23.0",
    "@strapi/plugin-users-permissions": "4.23.0",
    "@strapi/provider-upload-aws-s3": "^4.23.0",
    "@strapi/strapi": "^4.23.0",
    "better-sqlite3": "9.5.0",
    "pg": "^8.11.5",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-router-dom": "^6.22.3",
    "strapi-plugin-populate-deep": "^3.0.1",
    "strapi-plugin-publisher": "^1.5.7",
    "strapi-provider-upload-supabase": "^1.0.0",
    "styled-components": "^6.1.8"
 }

Add any other context about the problem here.

@ststaynov
Copy link

Possibly related to #19674 ?

@joshuaellis joshuaellis added issue: bug Issue reporting a bug severity: medium If it breaks the basic use of the product but can be worked around status: pending reproduction Waiting for free time to reproduce the issue, or more information source: core:data-transfer Source is core/data-transfer package labels May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug Issue reporting a bug severity: medium If it breaks the basic use of the product but can be worked around source: core:data-transfer Source is core/data-transfer package status: pending reproduction Waiting for free time to reproduce the issue, or more information
Projects
Status: To be reviewed (Open)
Status: To review
Development

No branches or pull requests

4 participants