Advertisement
Twissel

Untitled

Jan 2nd, 2025
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.11 KB | None | 0 0
  1. W [AxiosError]: Request failed with status code 401
  2. at eC (/www/wwwroot/edcosmetics.ua/.next/server/chunks/3665.js:80:123280)
  3. at IncomingMessage.<anonymous> (/www/wwwroot/edcosmetics.ua/.next/server/chunks/3665.js:82:8488)
  4. at IncomingMessage.emit (node:events:531:35)
  5. at endReadableNT (node:internal/streams/readable:1696:12)
  6. at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
  7. at tP.request (/www/wwwroot/edcosmetics.ua/.next/server/chunks/3665.js:82:20551)
  8. at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
  9. at async a (/www/wwwroot/edcosmetics.ua/.next/server/app/[lang]/checkout/page.js:8:96114)
  10. at async N (/www/wwwroot/edcosmetics.ua/.next/server/app/[lang]/checkout/page.js:8:94814) {
  11. code: 'ERR_BAD_REQUEST',
  12. config: {
  13. transitional: {
  14. silentJSONParsing: true,
  15. forcedJSONParsing: true,
  16. clarifyTimeoutError: false
  17. },
  18. adapter: [ 'xhr', 'http', 'fetch' ],
  19. transformRequest: [ [Function (anonymous)] ],
  20. transformResponse: [ [Function (anonymous)] ],
  21. timeout: 0,
  22. xsrfCookieName: 'XSRF-TOKEN',
  23. xsrfHeaderName: 'X-XSRF-TOKEN',
  24. maxContentLength: -1,
  25. maxBodyLength: -1,
  26. env: { FormData: [Function], Blob: [class Blob] },
  27. validateStatus: [Function: validateStatus],
  28. headers: Object [AxiosHeaders] {
  29. Accept: 'application/json, text/plain, */*',
  30. 'Content-Type': undefined,
  31. 'Current-Language': 'ua',
  32. Authorization: 'Bearer 199|fznj9q5G0cqqkv4CDkNsotzWLXvrH5Fqrd3dqzy0',
  33. 'User-Agent': 'axios/1.7.2',
  34. 'Accept-Encoding': 'gzip, compress, deflate, br'
  35. },
  36. baseURL: 'https://api.edcosmetics.ua/api',
  37. method: 'get',
  38. url: '/profile/addresses',
  39. data: undefined
  40. },
  41. request: <ref *1> ClientRequest {
  42. _events: [Object: null prototype] {
  43. abort: [Function (anonymous)],
  44. aborted: [Function (anonymous)],
  45. connect: [Function (anonymous)],
  46. error: [Function (anonymous)],
  47. socket: [Function (anonymous)],
  48. timeout: [Function (anonymous)],
  49. finish: [Function: requestOnFinish]
  50. },
  51. _eventsCount: 7,
  52. _maxListeners: undefined,
  53. outputData: [],
  54. outputSize: 0,
  55. writable: true,
  56. destroyed: true,
  57. _last: true,
  58. chunkedEncoding: false,
  59. shouldKeepAlive: true,
  60. maxRequestsOnConnectionReached: false,
  61. _defaultKeepAlive: true,
  62. useChunkedEncodingByDefault: false,
  63. sendDate: false,
  64. _removedConnection: false,
  65. _removedContLen: false,
  66. _removedTE: false,
  67. strictContentLength: false,
  68. _contentLength: 0,
  69. _hasBody: true,
  70. _trailer: '',
  71. finished: true,
  72. _headerSent: true,
  73. _closed: true,
  74. socket: TLSSocket {
  75. _tlsOptions: [Object],
  76. _secureEstablished: true,
  77. _securePending: false,
  78. _newSessionPending: false,
  79. _controlReleased: true,
  80. secureConnecting: false,
  81. _SNICallback: null,
  82. servername: 'api.edcosmetics.ua',
  83. alpnProtocol: false,
  84. authorized: true,
  85. authorizationError: null,
  86. encrypted: true,
  87. _events: [Object: null prototype],
  88. _eventsCount: 9,
  89. connecting: false,
  90. _hadError: false,
  91. _parent: null,
  92. _host: 'api.edcosmetics.ua',
  93. _closeAfterHandlingError: false,
  94. _readableState: [ReadableState],
  95. _writableState: [WritableState],
  96. allowHalfOpen: false,
  97. _maxListeners: undefined,
  98. _sockname: null,
  99. _pendingData: null,
  100. _pendingEncoding: '',
  101. server: undefined,
  102. _server: null,
  103. ssl: [TLSWrap],
  104. _requestCert: true,
  105. _rejectUnauthorized: true,
  106. timeout: 5000,
  107. parser: null,
  108. _httpMessage: null,
  109. [Symbol(alpncallback)]: null,
  110. [Symbol(res)]: [TLSWrap],
  111. [Symbol(verified)]: true,
  112. [Symbol(pendingSession)]: null,
  113. [Symbol(async_id_symbol)]: -1,
  114. [Symbol(kHandle)]: [TLSWrap],
  115. [Symbol(lastWriteQueueSize)]: 0,
  116. [Symbol(timeout)]: Timeout {
  117. _idleTimeout: 5000,
  118. _idlePrev: [TimersList],
  119. _idleNext: [Timeout],
  120. _idleStart: 126628573,
  121. _onTimeout: [Function: bound ],
  122. _timerArgs: undefined,
  123. _repeat: null,
  124. _destroyed: false,
  125. [Symbol(refed)]: false,
  126. [Symbol(kHasPrimitive)]: false,
  127. [Symbol(asyncId)]: 4198983,
  128. [Symbol(triggerId)]: 4198981,
  129. [Symbol(kResourceStore)]: undefined,
  130. [Symbol(kResourceStore)]: undefined,
  131. [Symbol(kResourceStore)]: [Object],
  132. [Symbol(kResourceStore)]: [Object],
  133. [Symbol(kResourceStore)]: [Object],
  134. [Symbol(kResourceStore)]: undefined,
  135. [Symbol(kResourceStore)]: undefined
  136. },
  137. [Symbol(kBuffer)]: null,
  138. [Symbol(kBufferCb)]: null,
  139. [Symbol(kBufferGen)]: null,
  140. [Symbol(shapeMode)]: true,
  141. [Symbol(kCapture)]: false,
  142. [Symbol(kSetNoDelay)]: false,
  143. [Symbol(kSetKeepAlive)]: true,
  144. [Symbol(kSetKeepAliveInitialDelay)]: 1,
  145. [Symbol(kBytesRead)]: 0,
  146. [Symbol(kBytesWritten)]: 0,
  147. [Symbol(connect-options)]: [Object]
  148. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement