docksdocks

Untitled

Feb 17th, 2023
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 9.83 KB | None | 0 0
  1. {
  2.   message: 'Request failed with status code 404',
  3.   name: 'AxiosError',
  4.   code: 'ERR_BAD_REQUEST',
  5.   config: {
  6.     transitional: {
  7.       silentJSONParsing: true,
  8.       forcedJSONParsing: true,
  9.       clarifyTimeoutError: false
  10.     },
  11.     adapter: [ 'xhr', 'http' ],
  12.     transformRequest: [ [Function: transformRequest] ],
  13.     transformResponse: [ [Function: transformResponse] ],
  14.     timeout: 0,
  15.     xsrfCookieName: 'XSRF-TOKEN',
  16.     xsrfHeaderName: 'X-XSRF-TOKEN',
  17.     maxContentLength: -1,
  18.     maxBodyLength: -1,
  19.     env: { FormData: [Function], Blob: null },
  20.     validateStatus: [Function: validateStatus],
  21.     headers: AxiosHeaders {
  22.       Accept: 'application/json, text/plain, */*',
  23.       'User-Agent': 'axios/1.3.3',
  24.       'Accept-Encoding': 'gzip, compress, deflate, br'
  25.     },
  26.     baseURL: 'http://0.0.0.0:1337/api',
  27.     method: 'get',
  28.     url: '/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en',
  29.     data: undefined
  30.   },
  31.   request: <ref *1> ClientRequest {
  32.     _events: [Object: null prototype] {
  33.       abort: [Function (anonymous)],
  34.       aborted: [Function (anonymous)],
  35.       connect: [Function (anonymous)],
  36.       error: [Function (anonymous)],
  37.       socket: [Function (anonymous)],
  38.       timeout: [Function (anonymous)],
  39.       finish: [Function: requestOnFinish]
  40.     },
  41.     _eventsCount: 7,
  42.     _maxListeners: undefined,
  43.     outputData: [],
  44.     outputSize: 0,
  45.     writable: true,
  46.     destroyed: false,
  47.     _last: true,
  48.     chunkedEncoding: false,
  49.     shouldKeepAlive: false,
  50.     maxRequestsOnConnectionReached: false,
  51.     _defaultKeepAlive: true,
  52.     useChunkedEncodingByDefault: false,
  53.     sendDate: false,
  54.     _removedConnection: false,
  55.     _removedContLen: false,
  56.     _removedTE: false,
  57.     strictContentLength: false,
  58.     _contentLength: 0,
  59.     _hasBody: true,
  60.     _trailer: '',
  61.     finished: true,
  62.     _headerSent: true,
  63.     _closed: false,
  64.     socket: Socket {
  65.       connecting: false,
  66.       _hadError: false,
  67.       _parent: null,
  68.       _host: null,
  69.       _closeAfterHandlingError: false,
  70.       _readableState: [ReadableState],
  71.       _events: [Object: null prototype],
  72.       _eventsCount: 7,
  73.       _maxListeners: undefined,
  74.       _writableState: [WritableState],
  75.       allowHalfOpen: false,
  76.       _sockname: null,
  77.       _pendingData: null,
  78.       _pendingEncoding: '',
  79.       server: null,
  80.       _server: null,
  81.       parser: null,
  82.       _httpMessage: [Circular *1],
  83.       [Symbol(async_id_symbol)]: 7400,
  84.       [Symbol(kHandle)]: [TCP],
  85.       [Symbol(lastWriteQueueSize)]: 0,
  86.       [Symbol(timeout)]: null,
  87.       [Symbol(kBuffer)]: null,
  88.       [Symbol(kBufferCb)]: null,
  89.       [Symbol(kBufferGen)]: null,
  90.       [Symbol(kCapture)]: false,
  91.       [Symbol(kSetNoDelay)]: false,
  92.       [Symbol(kSetKeepAlive)]: true,
  93.       [Symbol(kSetKeepAliveInitialDelay)]: 60,
  94.       [Symbol(kBytesRead)]: 0,
  95.       [Symbol(kBytesWritten)]: 0,
  96.       [Symbol(RequestTimeout)]: undefined
  97.     },
  98.     _header: 'GET /api/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en HTTP/1.1\r\n' +
  99.       'Accept: application/json, text/plain, */*\r\n' +
  100.       'User-Agent: axios/1.3.3\r\n' +
  101.       'Accept-Encoding: gzip, compress, deflate, br\r\n' +
  102.       'Host: 0.0.0.0:1337\r\n' +
  103.       'Connection: close\r\n' +
  104.       '\r\n',
  105.     _keepAliveTimeout: 0,
  106.     _onPendingData: [Function: nop],
  107.     agent: Agent {
  108.       _events: [Object: null prototype],
  109.       _eventsCount: 2,
  110.       _maxListeners: undefined,
  111.       defaultPort: 80,
  112.       protocol: 'http:',
  113.       options: [Object: null prototype],
  114.       requests: [Object: null prototype] {},
  115.       sockets: [Object: null prototype],
  116.       freeSockets: [Object: null prototype] {},
  117.       keepAliveMsecs: 1000,
  118.       keepAlive: false,
  119.       maxSockets: Infinity,
  120.       maxFreeSockets: 256,
  121.       scheduling: 'lifo',
  122.       maxTotalSockets: Infinity,
  123.       totalSocketCount: 1,
  124.       [Symbol(kCapture)]: false
  125.     },
  126.     socketPath: undefined,
  127.     method: 'GET',
  128.     maxHeaderSize: undefined,
  129.     insecureHTTPParser: undefined,
  130.     path: '/api/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en',
  131.     _ended: true,
  132.     res: IncomingMessage {
  133.       _readableState: [ReadableState],
  134.       _events: [Object: null prototype],
  135.       _eventsCount: 4,
  136.       _maxListeners: undefined,
  137.       socket: [Socket],
  138.       httpVersionMajor: 1,
  139.       httpVersionMinor: 1,
  140.       httpVersion: '1.1',
  141.       complete: true,
  142.       rawHeaders: [Array],
  143.       rawTrailers: [],
  144.       aborted: false,
  145.       upgrade: false,
  146.       url: '',
  147.       method: null,
  148.       statusCode: 404,
  149.       statusMessage: 'Not Found',
  150.       client: [Socket],
  151.       _consuming: false,
  152.       _dumped: false,
  153.       req: [Circular *1],
  154.       responseUrl: 'http://0.0.0.0:1337/api/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en',
  155.       redirects: [],
  156.       [Symbol(kCapture)]: false,
  157.       [Symbol(kHeaders)]: [Object],
  158.       [Symbol(kHeadersCount)]: 30,
  159.       [Symbol(kTrailers)]: null,
  160.       [Symbol(kTrailersCount)]: 0,
  161.       [Symbol(RequestTimeout)]: undefined
  162.     },
  163.     aborted: false,
  164.     timeoutCb: null,
  165.     upgradeOrConnect: false,
  166.     parser: null,
  167.     maxHeadersCount: null,
  168.     reusedSocket: false,
  169.     host: '0.0.0.0',
  170.     protocol: 'http:',
  171.     _redirectable: Writable {
  172.       _writableState: [WritableState],
  173.       _events: [Object: null prototype],
  174.       _eventsCount: 3,
  175.       _maxListeners: undefined,
  176.       _options: [Object],
  177.       _ended: true,
  178.       _ending: true,
  179.       _redirectCount: 0,
  180.       _redirects: [],
  181.       _requestBodyLength: 0,
  182.       _requestBodyBuffers: [],
  183.       _onNativeResponse: [Function (anonymous)],
  184.       _currentRequest: [Circular *1],
  185.       _currentUrl: 'http://0.0.0.0:1337/api/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en',
  186.       [Symbol(kCapture)]: false
  187.     },
  188.     [Symbol(kCapture)]: false,
  189.     [Symbol(kBytesWritten)]: 0,
  190.     [Symbol(kEndCalled)]: true,
  191.     [Symbol(kNeedDrain)]: false,
  192.     [Symbol(corked)]: 0,
  193.     [Symbol(kOutHeaders)]: [Object: null prototype] {
  194.       accept: [Array],
  195.       'user-agent': [Array],
  196.       'accept-encoding': [Array],
  197.       host: [Array]
  198.     },
  199.     [Symbol(kUniqueHeaders)]: null
  200.   },
  201.   response: {
  202.     status: 404,
  203.     statusText: 'Not Found',
  204.     headers: AxiosHeaders {
  205.       vary: 'Origin',
  206.       'content-security-policy': "connect-src 'self' https:;img-src 'self' data: blob: dl.airtable.com undefined.s3.undefined.amazonaws.com;media-src 'self' data: blob: dl.airtable.com undefined.s3.undefined.amazonaws.com;default-src 'self';base-uri 'self';block-all-mixed-content;font-src 'self' https: data:;frame-ancestors 'self';object-src 'none';script-src 'self';script-src-attr 'none';style-src 'self' https: 'unsafe-inline'",
  207.       'x-dns-prefetch-control': 'off',
  208.       'expect-ct': 'max-age=0',
  209.       'x-frame-options': 'SAMEORIGIN',
  210.       'strict-transport-security': 'max-age=31536000; includeSubDomains',
  211.       'x-download-options': 'noopen',
  212.       'x-content-type-options': 'nosniff',
  213.       'x-permitted-cross-domain-policies': 'none',
  214.       'referrer-policy': 'no-referrer',
  215.       'x-powered-by': 'Strapi <strapi.io>',
  216.       'content-type': 'application/json; charset=utf-8',
  217.       'content-length': '94',
  218.       date: 'Fri, 17 Feb 2023 18:42:50 GMT',
  219.       connection: 'close'
  220.     },
  221.     config: {
  222.       transitional: [Object],
  223.       adapter: [Array],
  224.       transformRequest: [Array],
  225.       transformResponse: [Array],
  226.       timeout: 0,
  227.       xsrfCookieName: 'XSRF-TOKEN',
  228.       xsrfHeaderName: 'X-XSRF-TOKEN',
  229.       maxContentLength: -1,
  230.       maxBodyLength: -1,
  231.       env: [Object],
  232.       validateStatus: [Function: validateStatus],
  233.       headers: [AxiosHeaders],
  234.       baseURL: 'http://0.0.0.0:1337/api',
  235.       method: 'get',
  236.       url: '/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en',
  237.       data: undefined
  238.     },
  239.     request: <ref *1> ClientRequest {
  240.       _events: [Object: null prototype],
  241.       _eventsCount: 7,
  242.       _maxListeners: undefined,
  243.       outputData: [],
  244.       outputSize: 0,
  245.       writable: true,
  246.       destroyed: false,
  247.       _last: true,
  248.       chunkedEncoding: false,
  249.       shouldKeepAlive: false,
  250.       maxRequestsOnConnectionReached: false,
  251.       _defaultKeepAlive: true,
  252.       useChunkedEncodingByDefault: false,
  253.       sendDate: false,
  254.       _removedConnection: false,
  255.       _removedContLen: false,
  256.       _removedTE: false,
  257.       strictContentLength: false,
  258.       _contentLength: 0,
  259.       _hasBody: true,
  260.       _trailer: '',
  261.       finished: true,
  262.       _headerSent: true,
  263.       _closed: false,
  264.       socket: [Socket],
  265.       _header: 'GET /api/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en HTTP/1.1\r\n' +
  266.         'Accept: application/json, text/plain, */*\r\n' +
  267.         'User-Agent: axios/1.3.3\r\n' +
  268.         'Accept-Encoding: gzip, compress, deflate, br\r\n' +
  269.         'Host: 0.0.0.0:1337\r\n' +
  270.         'Connection: close\r\n' +
  271.         '\r\n',
  272.       _keepAliveTimeout: 0,
  273.       _onPendingData: [Function: nop],
  274.       agent: [Agent],
  275.       socketPath: undefined,
  276.       method: 'GET',
  277.       maxHeaderSize: undefined,
  278.       insecureHTTPParser: undefined,
  279.       path: '/api/menus/1?nested&populate[0]=%2A&publicationState=live&locale[0]=en',
  280.       _ended: true,
  281.       res: [IncomingMessage],
  282.       aborted: false,
  283.       timeoutCb: null,
  284.       upgradeOrConnect: false,
  285.       parser: null,
  286.       maxHeadersCount: null,
  287.       reusedSocket: false,
  288.       host: '0.0.0.0',
  289.       protocol: 'http:',
  290.       _redirectable: [Writable],
  291.       [Symbol(kCapture)]: false,
  292.       [Symbol(kBytesWritten)]: 0,
  293.       [Symbol(kEndCalled)]: true,
  294.       [Symbol(kNeedDrain)]: false,
  295.       [Symbol(corked)]: 0,
  296.       [Symbol(kOutHeaders)]: [Object: null prototype],
  297.       [Symbol(kUniqueHeaders)]: null
  298.     },
  299.     data: { data: null, error: [Object] }
  300.   }
  301. }
Advertisement
Add Comment
Please, Sign In to add comment