ashbeech / moralis-mutants-nft-engine

Moralis Generative Art NFT Engine
MIT License
245 stars 226 forks source link

Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit #12

Open v3lip opened 2 years ago

v3lip commented 2 years ago
Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit
    at RedirectableRequest.write ({redacted}\moralis-mutants-nft-engine-main\node_modules\follow-redirects\index.js:102:24)
    at RedirectableRequest.end ({redacted}\moralis-mutants-nft-engine-main\node_modules\follow-redirects\index.js:127:10)
    at dispatchHttpRequest ({redacted}\moralis-mutants-nft-engine-main\node_modules\axios\lib\adapters\http.js:360:11)
    at new Promise (<anonymous>)
    at httpAdapter ({redacted}\moralis-mutants-nft-engine-main\node_modules\axios\lib\adapters\http.js:48:10)
    at dispatchRequest ({redacted}\moralis-mutants-nft-engine-main\node_modules\axios\lib\core\dispatchRequest.js:58:10)
    at Axios.request ({redacted}\moralis-mutants-nft-engine-main\node_modules\axios\lib\core\Axios.js:108:15)
    at Axios.<computed> [as post] ({redacted}\NFT01\moralis-mutants-nft-engine-main\node_modules\axios\lib\core\Axios.js:140:17)
    at Function.wrap [as post] ({redacted}\NFT01\moralis-mutants-nft-engine-main\node_modules\axios\lib\helpers\bind.js:9:15)
    at {redacted}\moralis-mutants-nft-engine-main\src\metadata.js:147:8 {
  config: {
    transitional: {
      silentJSONParsing: true,
      forcedJSONParsing: true,
      clarifyTimeoutError: false
    },
    adapter: [Function: httpAdapter],
    transformRequest: [ [Function: transformRequest] ],
    transformResponse: [ [Function: transformResponse] ],
    timeout: 0,
    xsrfCookieName: 'XSRF-TOKEN',
    xsrfHeaderName: 'X-XSRF-TOKEN',
    maxContentLength: -1,
    maxBodyLength: -1,
    validateStatus: [Function: validateStatus],
    headers: {
      Accept: 'application/json',
      'Content-Type': 'application/json',
      'X-API-Key': '{redacted}',
      'User-Agent': 'axios/0.23.0',
      'Content-Length': 31852737
    },
    method: 'post',
    url: 'https://deep-index.moralis.io/api/v2/ipfs/uploadFolder',
    data: '[{"path":"images/0000000000000000000000000000000000000000000000000000000000000002.png","content":"iVBORw0KGgoAAAANSUhEUgAAA+gAAAPoCAYAAABNo9TkAAAABmJLR0QA/wD/AP+gvaeTAAAgAElEQVR4nOzd6ZMceX7f908edVf1feMcAHPPLGZ29pghlyKpXV5LihRJWbJES6IdIUuyIvTEtmxFWHaEFZYd9N/gB3poOyRK5iHG8lhyd3Z2du4Lg8HZjUZf6Lu77rx+fpBZ1QWggcHRaGSj368AouvIyspuVDXqk9/f7/uzfuvf/J4RAAAAAAB4rOzHfQAAAAAAAICADgAAAABAKhDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQAQAAAABIAQI6AAAAAAApQEAHAAAAACAFCOgAAAAAAKQAAR0AAAAAgBQgoAMAAAAAkAIEdAAAAAAAUoCADgAAAABAChDQ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vqCgta7Q2/6S0N3d+2P5ntDrlpMVJpmLfw9a1W1d/+hD9Y9PyM3lHs3hAcABQUAHgIPOGPmtlqory1q68IUWPv9MtdXVhxjGbsmyXeUrx9V/9Oc0dOKXVRx6QZn8MF3YcUed+dfdSnbQVBS2Ffp1Be0NebV5Nbeuqr'... 31842737 more characters
  },
 ...
RobJay67 commented 2 years ago

Sorry to bug you v3lip but does your index,js file have all the code in it mine seems to be short at 97 lines long

v3lip commented 2 years ago

@RobJay67 All the lines? All the lines that should be there, are there. What exactly is your issue?

RobJay67 commented 2 years ago

In the video when he is done with config.js and opens index.js I only have 96 lines of code and he scrolls down to 260 to make a vital code change. When I look at the index.js on Github I also only see 96 lines of code... where am I going wrong to not generate the rest of the code?

v3lip commented 2 years ago

In the video when he is done with config.js and opens index.js I only have 96 lines of code and he scrolls down to 260 to make a vital code change. When I look at the index.js on Github I also only see 96 lines of code... where am I going wrong to not generate the rest of the code?

We're not generating any code, we're downloading it, and you get it as it should be. This code is probably more updated and optimized than what is was previously at the point pf the video. Just go through the files and look for different calls or functions and what not. Im sure you'll figure it out. :)

Lalaith15 commented 2 years ago

Have the same issue - did you were able to resolve it?

xaser3d commented 2 years ago

The script works well only for 10 images 500 kbytes each. When I try to generate more, I get an error from the server that the limits have been exceeded. Max buffer size from server message is: maxBodyLength: 10485760, My buffer size is 'Content-Length': 53120297 for 100 images. Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit at RedirectableRequest.write (C:\moralis-mutants-nft-engine-main\node_modules\follow-redirects\index.js:102:24) at RedirectableRequest.end (C:\moralis-mutants-nft-engine-main\node_modules\follow-redirects\index.js:127:10) at dispatchHttpRequest (C:\moralis-mutants-nft-engine-main\node_modules\axios\lib\adapters\http.js:360:11) at new Promise () at httpAdapter (C:\moralis-mutants-nft-engine-main\node_modules\axios\lib\adapters\http.js:48:10) at dispatchRequest (C:\moralis-mutants-nft-engine-main\node_modules\axios\lib\core\dispatchRequest.js:58:10) at Axios.request (C:\moralis-mutants-nft-engine-main\node_modules\axios\lib\core\Axios.js:108:15) at Axios. [as post] (C:\moralis-mutants-nft-engine-main\node_modules\axios\lib\core\Axios.js:140:17) at Function.wrap [as post] (C:\moralis-mutants-nft-engine-main\node_modules\axios\lib\helpers\bind.js:9:15) at C:\moralis-mutants-nft-engine-main\src\metadata.js:147:8 { config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [Function: httpAdapter], transformRequest: [ [Function: transformRequest] ], transformResponse: [ [Function: transformResponse] ], timeout: 0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, validateStatus: [Function: validateStatus], headers: { Accept: 'application/json', 'Content-Type': 'application/json', 'X-API-Key': 'gV36paHDAJcmrLrnPjNYXO6ACfEOCXJNJGCfarl0aU6Y0fpiCU4TzpkYwh2AqqYK', 'User-Agent': 'axios/0.23.0', 'Content-Length': 53120297 }, method: 'post',

xaser3d commented 2 years ago

Early in 2021, I see that the buffer size from the server was maxContentLength: -1 This turns out to be a server limitation? How to remove this restriction I need to upload 10,000 thousand small pictures.

xaser3d commented 2 years ago

Can you edit your scrip to upload chunks maxBodyLength: 10000000 ?

Wakdman commented 2 years ago

Have you found a way to correct this error message Error [ERR_FR_MAX_BODY_LENGTH_EXCEEDED]: Request body larger than maxBodyLength limit ?