You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @marsnebulasoup@jasanpreetn9@Hunterg07 guys can you help me this error as iam getting the below error when i deployed it locolly its giving me axios error
\n' +
'\n' +
' <script>\n' +
' window._cf_translation = {};\n' +
' \n' +
' \n' +
'</script>\n' +
'\n' +
'\n' +
'\n'
},
status: 429
}
TypeError: episodes.find is not a function
at fetchEpisodes (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:54:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async load (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:99:16)
at async Module.load_server_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:57:17)
at async Promise.all (index 1)
at async Module.render_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/data/index.js:111:17)
at async resolve (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/respond.js:402:17)
at async Object.handle (C:/Users/User/Downloads/Codex/src/hooks.server.js:23:19)
at async Module.respond (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/respond.js:282:20)
at async file:///C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:510:22
Error: TypeError: episodes.find is not a function
at fetchEpisodes (C:\Users\User\Downloads\Codex\src\routes\watch[idMal][episodeId]+page.server.js:54:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async load (C:\Users\User\Downloads\Codex\src\routes\watch[idMal][episodeId]+page.server.js:92:16)
at async Module.load_server_data (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\page\load_data.js:51:17)
at async Promise.all (index 1)
at async Module.render_data (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\data\index.js:100:17)
at async resolve (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\respond.js:394:17)
at async Object.handle (C:\Users\User\Downloads\Codex\src\hooks.server.js:18:19)
at async Module.respond (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\respond.js:274:20)
at async file:///C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:510:22
Kindly help me with this issue
The text was updated successfully, but these errors were encountered:
Hi @marsnebulasoup @jasanpreetn9 @Hunterg07 guys can you help me this error as iam getting the below error when i deployed it locolly its giving me axios error
Error fetching mapping: AxiosError: Request failed with status code 429
at settle (file:///C:/Users/User/Downloads/Codex/node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (file:///C:/Users/User/Downloads/Codex/node_modules/axios/lib/adapters/http.js:599:11)
at IncomingMessage.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (file:///C:/Users/User/Downloads/Codex/node_modules/axios/lib/core/Axios.js:45:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async getMapping (C:/Users/User/Downloads/Codex/src/lib/api/index.js:15:44)
at async Module.getEpisodes (C:/Users/User/Downloads/Codex/src/lib/api/index.js:147:18)
at async fetchEpisodes (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:53:21)
at async load (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:99:16)
at async Module.load_server_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:57:17)
at async Promise.all (index 1)
at async Module.render_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/data/index.js:111:17) {
code: 'ERR_BAD_REQUEST',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http', 'fetch' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, /',
'Content-Type': undefined,
'User-Agent': 'axios/1.7.7',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
method: 'get',
url: 'https://api.malsync.moe/mal/anime/38555',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
finish: [Function: requestOnFinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'api.malsync.moe',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: 'api.malsync.moe',
_closeAfterHandlingError: false,
_readableState: [ReadableState],
_writableState: [WritableState],
allowHalfOpen: false,
_maxListeners: undefined,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
timeout: 5000,
parser: null,
_httpMessage: null,
autoSelectFamilyAttemptedAddresses: [Array],
[Symbol(alpncallback)]: null,
[Symbol(res)]: [TLSWrap],
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: -1,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: Timeout {
_idleTimeout: 5000,
_idlePrev: [TimersList],
_idleNext: [Timeout],
_idleStart: 111805,
_onTimeout: [Function: bound ],
_timerArgs: undefined,
_repeat: null,
_destroyed: false,
[Symbol(refed)]: false,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 24641,
[Symbol(triggerId)]: 24639
},
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false,
[Symbol(kSetNoDelay)]: false,
[Symbol(kSetKeepAlive)]: true,
[Symbol(kSetKeepAliveInitialDelay)]: 1,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object]
},
_header: 'GET /mal/anime/38555 HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: axios/1.7.7\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: api.malsync.moe\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype],
freeSockets: [Object: null prototype],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 2,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/mal/anime/38555',
_ended: true,
res: IncomingMessage {
_events: [Object],
_readableState: [ReadableState],
_maxListeners: undefined,
socket: null,
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 429,
statusMessage: 'Too Many Requests',
client: [TLSSocket],
_consuming: true,
_dumped: false,
req: [Circular *1],
_eventsCount: 4,
responseUrl: 'https://api.malsync.moe/mal/anime/38555',
redirects: [],
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 34,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: 'api.malsync.moe',
protocol: 'https:',
_redirectable: Writable {
_events: [Object],
_writableState: [WritableState],
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_eventsCount: 3,
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular 1],
_currentUrl: 'https://api.malsync.moe/mal/anime/38555',
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false
},
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'user-agent': [Array],
'accept-encoding': [Array],
host: [Array]
},
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
response: {
status: 429,
statusText: 'Too Many Requests',
headers: Object [AxiosHeaders] {
date: 'Fri, 17 Jan 2025 12:36:33 GMT',
'content-type': 'text/html; charset=UTF-8',
'transfer-encoding': 'chunked',
connection: 'keep-alive',
'retry-after': '5',
'x-frame-options': 'SAMEORIGIN',
'referrer-policy': 'same-origin',
'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0',
expires: 'Thu, 01 Jan 1970 00:00:01 GMT',
'report-to': '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=76%2BsfnSlEyU7jiC5GlscW0z3N%2FczEWm6SUvEW%2BZ8EO%2BKzgQt4b4KFoWhZMYUkKKYlLbFIA6df0X59%2BugCCCdqolckdGXOjmlCVji0a5Rg94PuRzegSKbDg6XPJWj2%2BtA6Yw%3D"}],"group":"cf-nel","max_age":604800}',
nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
vary: 'Accept-Encoding',
'access-control-allow-origin': '',
server: 'cloudflare',
'cf-ray': '9036643b7b97dba3-FRA',
'alt-svc': 'h3=":443"; ma=86400',
'server-timing': 'cfL4;desc="?proto=TCP&rtt=133140&min_rtt=132298&rtt_var=2190&sent=20&recv=25&lost=0&retrans=0&sent_bytes=14205&recv_bytes=2020&delivery_rate=53973&cwnd=96&unsent_bytes=0&cid=5300e39b352b9b29&ts=9715&x=0"'
},
config: {
transitional: [Object],
adapter: [Array],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: [Object],
validateStatus: [Function: validateStatus],
headers: [Object [AxiosHeaders]],
method: 'get',
url: 'https://api.malsync.moe/mal/anime/38555',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /mal/anime/38555 HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: axios/1.7.7\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: api.malsync.moe\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/mal/anime/38555',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: 'api.malsync.moe',
protocol: 'https:',
_redirectable: [Writable],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
data: '\n' +
'\n' +
'\n' +
'\n' +
' \n' +
'\n' +
'<title>Access denied | api.malsync.moe used Cloudflare to restrict access</title>\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'<script>\n' +
'(function(){if(document.addEventListener&&window.XMLHttpRequest&&JSON&&JSON.stringify){var e=function(a){var c=document.getElementById("error-feedback-survey"),d=document.getElementById("error-feedback-success"),b=new XMLHttpRequest;a={event:"feedback clicked",properties:{errorCode:1015,helpful:a,version:1}};b.open("POST","https://sparrow.cloudflare.com/api/v1/event");b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Sparrow-Source-Key","c771f0e4b54944bebf4261d44bd79a1e");\n' +
'b.send(JSON.stringify(a));c.classList.add("feedback-hidden");d.classList.remove("feedback-hidden")};document.addEventListener("DOMContentLoaded",function(){var a=document.getElementById("error-feedback"),c=document.getElementById("feedback-button-yes"),d=document.getElementById("feedback-button-no");"classList"in a&&(a.classList.remove("feedback-hidden"),c.addEventListener("click",function(){e(!0)}),d.addEventListener("click",function(){e(!1)}))})}})();\n' +
'</script>\n' +
'\n' +
'<script defer src="https://performance.radar.cloudflare.com/beacon.js"></script>\n' +
'\n' +
'\n' +
'
'
'
' \n' +
'
\n' +
\n' +' Error\n' +
' 1015\n' +
'
' Ray ID: 9036643b7b97dba3 •\n' +
' 2025-01-17 12:36:33 UTC\n' +
'
You are being rate limited
\n' +' \n' +
'\n' +
'
'
'
What happened?
\n' +'
The owner of this website (api.malsync.moe) has banned you temporarily from accessing this website.
\n' +' \n' +
'
'\n' +
' \n' +
'
'\n' +
'
'
' Was this page helpful?\n' +
' Yes\n' +
' No\n' +
'
'
' Thank you for your feedback!\n' +
'
'
'\n' +
'\n' +
'
'
\n' +
\n' +' Cloudflare Ray ID: 9036643b7b97dba3\n' +
' •\n' +
' \n' +
' Your IP:\n' +
' Click to reveal\n' +
' 106.51.84.188\n' +
' •\n' +
' \n' +
' Performance & security by Cloudflare\n' +
' \n' +
'
' <script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>\n' +
'
'\n' +
'\n' +
'
'
'\n' +
' <script>\n' +
' window._cf_translation = {};\n' +
' \n' +
' \n' +
'</script>\n' +
'\n' +
'\n' +
'\n'
},
status: 429
}
TypeError: episodes.find is not a function
at fetchEpisodes (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:54:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async load (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:99:16)
at async Module.load_server_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:57:17)
at async Promise.all (index 1)
at async Module.render_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/data/index.js:111:17)
at async resolve (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/respond.js:402:17)
at async Object.handle (C:/Users/User/Downloads/Codex/src/hooks.server.js:23:19)
at async Module.respond (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/respond.js:282:20)
at async file:///C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:510:22
Error: TypeError: episodes.find is not a function
at fetchEpisodes (C:\Users\User\Downloads\Codex\src\routes\watch[idMal][episodeId]+page.server.js:54:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async load (C:\Users\User\Downloads\Codex\src\routes\watch[idMal][episodeId]+page.server.js:92:16)
at async Module.load_server_data (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\page\load_data.js:51:17)
at async Promise.all (index 1)
at async Module.render_data (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\data\index.js:100:17)
at async resolve (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\respond.js:394:17)
at async Object.handle (C:\Users\User\Downloads\Codex\src\hooks.server.js:18:19)
at async Module.respond (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\respond.js:274:20)
at async file:///C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:510:22
Error fetching mapping: AxiosError: Request failed with status code 429
at settle (file:///C:/Users/User/Downloads/Codex/node_modules/axios/lib/core/settle.js:19:12)
at IncomingMessage.handleStreamEnd (file:///C:/Users/User/Downloads/Codex/node_modules/axios/lib/adapters/http.js:599:11)
at IncomingMessage.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (file:///C:/Users/User/Downloads/Codex/node_modules/axios/lib/core/Axios.js:45:41)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 0)
at async getMapping (C:/Users/User/Downloads/Codex/src/lib/api/index.js:15:44)
at async Module.getEpisodes (C:/Users/User/Downloads/Codex/src/lib/api/index.js:147:18)
at async fetchEpisodes (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:53:21)
at async load (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:99:16)
at async Module.load_server_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:57:17)
at async Promise.all (index 1)
at async Module.render_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/data/index.js:111:17) {
code: 'ERR_BAD_REQUEST',
config: {
transitional: {
silentJSONParsing: true,
forcedJSONParsing: true,
clarifyTimeoutError: false
},
adapter: [ 'xhr', 'http', 'fetch' ],
transformRequest: [ [Function: transformRequest] ],
transformResponse: [ [Function: transformResponse] ],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: { FormData: [Function], Blob: [class Blob] },
validateStatus: [Function: validateStatus],
headers: Object [AxiosHeaders] {
Accept: 'application/json, text/plain, /',
'Content-Type': undefined,
'User-Agent': 'axios/1.7.7',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
method: 'get',
url: 'https://api.malsync.moe/mal/anime/38555',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype] {
abort: [Function (anonymous)],
aborted: [Function (anonymous)],
connect: [Function (anonymous)],
error: [Function (anonymous)],
socket: [Function (anonymous)],
timeout: [Function (anonymous)],
finish: [Function: requestOnFinish]
},
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: TLSSocket {
_tlsOptions: [Object],
_secureEstablished: true,
_securePending: false,
_newSessionPending: false,
_controlReleased: true,
secureConnecting: false,
_SNICallback: null,
servername: 'api.malsync.moe',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: 'api.malsync.moe',
_closeAfterHandlingError: false,
_readableState: [ReadableState],
_writableState: [WritableState],
allowHalfOpen: false,
_maxListeners: undefined,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: [TLSWrap],
_requestCert: true,
_rejectUnauthorized: true,
timeout: 5000,
parser: null,
_httpMessage: null,
autoSelectFamilyAttemptedAddresses: [Array],
[Symbol(alpncallback)]: null,
[Symbol(res)]: [TLSWrap],
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: -1,
[Symbol(kHandle)]: [TLSWrap],
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: Timeout {
_idleTimeout: 5000,
_idlePrev: [TimersList],
_idleNext: [Timeout],
_idleStart: 112419,
_onTimeout: [Function: bound ],
_timerArgs: undefined,
_repeat: null,
_destroyed: false,
[Symbol(refed)]: false,
[Symbol(kHasPrimitive)]: false,
[Symbol(asyncId)]: 24699,
[Symbol(triggerId)]: 24697
},
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false,
[Symbol(kSetNoDelay)]: false,
[Symbol(kSetKeepAlive)]: true,
[Symbol(kSetKeepAliveInitialDelay)]: 1,
[Symbol(kBytesRead)]: 0,
[Symbol(kBytesWritten)]: 0,
[Symbol(connect-options)]: [Object]
},
_header: 'GET /mal/anime/38555 HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: axios/1.7.7\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: api.malsync.moe\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: Agent {
_events: [Object: null prototype],
_eventsCount: 2,
_maxListeners: undefined,
defaultPort: 443,
protocol: 'https:',
options: [Object: null prototype],
requests: [Object: null prototype] {},
sockets: [Object: null prototype],
freeSockets: [Object: null prototype],
keepAliveMsecs: 1000,
keepAlive: true,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 2,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/mal/anime/38555',
_ended: true,
res: IncomingMessage {
_events: [Object],
_readableState: [ReadableState],
_maxListeners: undefined,
socket: null,
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
joinDuplicateHeaders: undefined,
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 429,
statusMessage: 'Too Many Requests',
client: [TLSSocket],
_consuming: true,
_dumped: false,
req: [Circular *1],
_eventsCount: 4,
responseUrl: 'https://api.malsync.moe/mal/anime/38555',
redirects: [],
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 34,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: 'api.malsync.moe',
protocol: 'https:',
_redirectable: Writable {
_events: [Object],
_writableState: [WritableState],
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 0,
_requestBodyBuffers: [],
_eventsCount: 3,
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular 1],
_currentUrl: 'https://api.malsync.moe/mal/anime/38555',
[Symbol(shapeMode)]: true,
[Symbol(kCapture)]: false
},
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'user-agent': [Array],
'accept-encoding': [Array],
host: [Array]
},
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
response: {
status: 429,
statusText: 'Too Many Requests',
headers: Object [AxiosHeaders] {
date: 'Fri, 17 Jan 2025 12:36:33 GMT',
'content-type': 'text/html; charset=UTF-8',
'transfer-encoding': 'chunked',
connection: 'keep-alive',
'retry-after': '5',
'x-frame-options': 'SAMEORIGIN',
'referrer-policy': 'same-origin',
'cache-control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0',
expires: 'Thu, 01 Jan 1970 00:00:01 GMT',
'report-to': '{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=g4zeGTaERM4TqWg%2BnDZkOUq0%2B%2BuM5co9KTwjF0h2Y6mDJK4F4K1kP0BQHnZ9r9vB5arYcpazbVdjB8v9JB5RDqo0y26ZOF50pzM2awBa1Wzm6%2Bg5c7ZcAIeSBwkp47BYZSo%3D"}],"group":"cf-nel","max_age":604800}',
nel: '{"success_fraction":0,"report_to":"cf-nel","max_age":604800}',
vary: 'Accept-Encoding',
'access-control-allow-origin': '',
server: 'cloudflare',
'cf-ray': '9036643f5b87dba3-FRA',
'alt-svc': 'h3=":443"; ma=86400',
'server-timing': 'cfL4;desc="?proto=TCP&rtt=132756&min_rtt=132298&rtt_var=962&sent=25&recv=31&lost=0&retrans=0&sent_bytes=20780&recv_bytes=2236&delivery_rate=53999&cwnd=96&unsent_bytes=0&cid=5300e39b352b9b29&ts=10330&x=0"'
},
config: {
transitional: [Object],
adapter: [Array],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: -1,
maxBodyLength: -1,
env: [Object],
validateStatus: [Function: validateStatus],
headers: [Object [AxiosHeaders]],
method: 'get',
url: 'https://api.malsync.moe/mal/anime/38555',
data: undefined
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: true,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: false,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: 0,
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'GET /mal/anime/38555 HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'User-Agent: axios/1.7.7\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: api.malsync.moe\r\n' +
'Connection: keep-alive\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'GET',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
joinDuplicateHeaders: undefined,
path: '/mal/anime/38555',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: true,
host: 'api.malsync.moe',
protocol: 'https:',
_redirectable: [Writable],
[Symbol(shapeMode)]: false,
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kHighWaterMark)]: 16384,
[Symbol(kRejectNonStandardBodyWrites)]: false,
[Symbol(kUniqueHeaders)]: null
},
data: '\n' +
'\n' +
'\n' +
'\n' +
' \n' +
'\n' +
'<title>Access denied | api.malsync.moe used Cloudflare to restrict access</title>\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'\n' +
'<script>\n' +
'(function(){if(document.addEventListener&&window.XMLHttpRequest&&JSON&&JSON.stringify){var e=function(a){var c=document.getElementById("error-feedback-survey"),d=document.getElementById("error-feedback-success"),b=new XMLHttpRequest;a={event:"feedback clicked",properties:{errorCode:1015,helpful:a,version:1}};b.open("POST","https://sparrow.cloudflare.com/api/v1/event");b.setRequestHeader("Content-Type","application/json");b.setRequestHeader("Sparrow-Source-Key","c771f0e4b54944bebf4261d44bd79a1e");\n' +
'b.send(JSON.stringify(a));c.classList.add("feedback-hidden");d.classList.remove("feedback-hidden")};document.addEventListener("DOMContentLoaded",function(){var a=document.getElementById("error-feedback"),c=document.getElementById("feedback-button-yes"),d=document.getElementById("feedback-button-no");"classList"in a&&(a.classList.remove("feedback-hidden"),c.addEventListener("click",function(){e(!0)}),d.addEventListener("click",function(){e(!1)}))})}})();\n' +
'</script>\n' +
'\n' +
'<script defer src="https://performance.radar.cloudflare.com/beacon.js"></script>\n' +
'\n' +
'\n' +
'
'
'
' \n' +
'
\n' +
\n' +' Error\n' +
' 1015\n' +
'
' Ray ID: 9036643f5b87dba3 •\n' +
' 2025-01-17 12:36:33 UTC\n' +
'
You are being rate limited
\n' +' \n' +
'\n' +
'
'
'
What happened?
\n' +'
The owner of this website (api.malsync.moe) has banned you temporarily from accessing this website.
\n' +' \n' +
'
'\n' +
' \n' +
'
'\n' +
'
'
' Was this page helpful?\n' +
' Yes\n' +
' No\n' +
'
'
' Thank you for your feedback!\n' +
'
'
'\n' +
'\n' +
'
'
\n' +
\n' +' Cloudflare Ray ID: 9036643f5b87dba3\n' +
' •\n' +
' \n' +
' Your IP:\n' +
' Click to reveal\n' +
' 106.51.84.188\n' +
' •\n' +
' \n' +
' Performance & security by Cloudflare\n' +
' \n' +
'
' <script>(function(){function d(){var b=a.getElementById("cf-footer-item-ip"),c=a.getElementById("cf-footer-ip-reveal");b&&"classList"in b&&(b.classList.remove("hidden"),c.addEventListener("click",function(){c.classList.add("hidden");a.getElementById("cf-footer-ip").classList.remove("hidden")}))}var a=document;document.addEventListener&&a.addEventListener("DOMContentLoaded",d)})();</script>\n' +
'
'\n' +
'\n' +
'
'
'\n' +
' <script>\n' +
' window._cf_translation = {};\n' +
' \n' +
' \n' +
'</script>\n' +
'\n' +
'\n' +
'\n'
},
status: 429
}
TypeError: episodes.find is not a function
at fetchEpisodes (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:54:36)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async load (C:/Users/User/Downloads/Codex/src/routes/watch/[idMal]/[episodeId]/+page.server.js:99:16)
at async Module.load_server_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/page/load_data.js:57:17)
at async Promise.all (index 1)
at async Module.render_data (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/data/index.js:111:17)
at async resolve (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/respond.js:402:17)
at async Object.handle (C:/Users/User/Downloads/Codex/src/hooks.server.js:23:19)
at async Module.respond (C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/runtime/server/respond.js:282:20)
at async file:///C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:510:22
Error: TypeError: episodes.find is not a function
at fetchEpisodes (C:\Users\User\Downloads\Codex\src\routes\watch[idMal][episodeId]+page.server.js:54:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async load (C:\Users\User\Downloads\Codex\src\routes\watch[idMal][episodeId]+page.server.js:92:16)
at async Module.load_server_data (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\page\load_data.js:51:17)
at async Promise.all (index 1)
at async Module.render_data (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\data\index.js:100:17)
at async resolve (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\respond.js:394:17)
at async Object.handle (C:\Users\User\Downloads\Codex\src\hooks.server.js:18:19)
at async Module.respond (C:\Users\User\Downloads\Codex\node_modules@sveltejs\kit\src\runtime\server\respond.js:274:20)
at async file:///C:/Users/User/Downloads/Codex/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:510:22
Kindly help me with this issue
The text was updated successfully, but these errors were encountered: