AxiosError: Request failed with status code 400
at settle (/home/nabilmuthi77/whatsapp-bot/XiaoYuan-Bot-v.1/node_modules/axios/lib/core/settle.js:19:12)
at BrotliDecompress.handleStreamEnd (/home/nabilmuthi77/whatsapp-bot/XiaoYuan-Bot-v.1/node_modules/axios/lib/adapters/http.js:589:11)
at BrotliDecompress.emit (node:events:525:35)
at endReadableNT (node:internal/streams/readable:1359:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
at Axios.request (/home/nabilmuthi77/whatsapp-bot/XiaoYuan-Bot-v.1/node_modules/axios/lib/core/Axios.js:45:41)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at XeonBotInc (/home/nabilmuthi77/whatsapp-bot/XiaoYuan-Bot-v.1/XeonCheems11.js:15756:23) {
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': 'application/x-www-form-urlencoded;charset=utf-8',
cookie: 'wa_lang_pref=id; expires=Sat, 06-Jul-2024 16:30:07 GMT; Max-Age=604800; path=/; domain=.whatsapp.com; secure; wa_ul=144b195a-e12a-404a-ab13-9c3e9c270ad0; expires=Fri, 27-Sep-2024 16:30:07 GMT; Max-Age=7776000; path=/; domain=.www.whatsapp.com; secure; httponly; wa_csrf=4mVEFvbGVXEqjaP8DvlxsM; path=/; domain=.whatsapp.com; secure; httponly',
'User-Agent': 'axios/1.7.2',
'Content-Length': '644',
'Accept-Encoding': 'gzip, compress, deflate, br'
},
url: 'https://www.whatsapp.com/undefined',
method: 'post',
data: 'jazoest=undefined&lsd=undefined&step=submit&country_selector=INDIA&phone_number=%2B6285710754739&email=kzanecnh5w%40vjuum.com&email_confirm=kzanecnh5w%40vjuum.com&platform=ANDROID&your_message=Halo+pak%2C+Akun+Whatsapp+Saya+diblokir.+Saya+tidak+bermaksud+melanggar%2C+Tujuan+Saya+hanya+mempelajari+Aspek+Keamanan+Siber+Secara+Legal+dan+mempelajari+bagaimana+perlindungan+terhadap+aktifitas++spam+dan+penyalahgunaan+yang+diimplementasikan+di+platform+whatsapp+.+Harap+Buka+Blokir+Akun+Saya+Sesegera+Mungkin.+Terimakasih&__user=0&__a=1&__csr=&__req=8&__hs=19316.BP%3Awhatsapp_www_pkg.2.0.0.0.0&dpr=1&__ccg=UNKNOWN&__rev=1006630858&__comment_req=0'
},
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: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: '644',
_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: 'www.whatsapp.com',
alpnProtocol: false,
authorized: true,
authorizationError: null,
encrypted: true,
_events: [Object: null prototype],
_eventsCount: 9,
connecting: false,
_hadError: false,
_parent: null,
_host: 'www.whatsapp.com',
_closeAfterHandlingError: false,
_readableState: [ReadableState],
_maxListeners: undefined,
_writableState: [WritableState],
allowHalfOpen: false,
_sockname: null,
_pendingData: null,
_pendingEncoding: '',
server: undefined,
_server: null,
ssl: null,
_requestCert: true,
_rejectUnauthorized: true,
parser: null,
_httpMessage: [Circular *1],
[Symbol(res)]: null,
[Symbol(verified)]: true,
[Symbol(pendingSession)]: null,
[Symbol(async_id_symbol)]: 14379,
[Symbol(kHandle)]: null,
[Symbol(lastWriteQueueSize)]: 0,
[Symbol(timeout)]: null,
[Symbol(kBuffer)]: null,
[Symbol(kBufferCb)]: null,
[Symbol(kBufferGen)]: null,
[Symbol(kCapture)]: false,
[Symbol(kSetNoDelay)]: false,
[Symbol(kSetKeepAlive)]: true,
[Symbol(kSetKeepAliveInitialDelay)]: 60,
[Symbol(kBytesRead)]: 7702,
[Symbol(kBytesWritten)]: 1263,
[Symbol(connect-options)]: [Object]
},
_header: 'POST /undefined HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Content-Type: application/x-www-form-urlencoded;charset=utf-8\r\n' +
'cookie: wa_lang_pref=id; expires=Sat, 06-Jul-2024 16:30:07 GMT; Max-Age=604800; path=/; domain=.whatsapp.com; secure; wa_ul=144b195a-e12a-404a-ab13-9c3e9c270ad0; expires=Fri, 27-Sep-2024 16:30:07 GMT; Max-Age=7776000; path=/; domain=.www.whatsapp.com; secure; httponly; wa_csrf=4mVEFvbGVXEqjaP8DvlxsM; path=/; domain=.whatsapp.com; secure; httponly\r\n' +
'User-Agent: axios/1.7.2\r\n' +
'Content-Length: 644\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: www.whatsapp.com\r\n' +
'Connection: close\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: false,
maxSockets: Infinity,
maxFreeSockets: 256,
scheduling: 'lifo',
maxTotalSockets: Infinity,
totalSocketCount: 0,
maxCachedSessions: 100,
_sessionCache: [Object],
[Symbol(kCapture)]: false
},
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/undefined',
_ended: true,
res: IncomingMessage {
_readableState: [ReadableState],
_events: [Object: null prototype],
_eventsCount: 4,
_maxListeners: undefined,
socket: [TLSSocket],
httpVersionMajor: 1,
httpVersionMinor: 1,
httpVersion: '1.1',
complete: true,
rawHeaders: [Array],
rawTrailers: [],
aborted: false,
upgrade: false,
url: '',
method: null,
statusCode: 400,
statusMessage: 'Bad Request',
client: [TLSSocket],
_consuming: true,
_dumped: false,
req: [Circular *1],
responseUrl: 'https://www.whatsapp.com/undefined',
redirects: [],
[Symbol(kCapture)]: false,
[Symbol(kHeaders)]: [Object],
[Symbol(kHeadersCount)]: 54,
[Symbol(kTrailers)]: null,
[Symbol(kTrailersCount)]: 0
},
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'www.whatsapp.com',
protocol: 'https:',
_redirectable: Writable {
_writableState: [WritableState],
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
_options: [Object],
_ended: true,
_ending: true,
_redirectCount: 0,
_redirects: [],
_requestBodyLength: 644,
_requestBodyBuffers: [],
_onNativeResponse: [Function (anonymous)],
_currentRequest: [Circular *1],
currentUrl: 'https://www.whatsapp.com/undefined',
[Symbol(kCapture)]: false
},
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kEndCalled)]: true,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype] {
accept: [Array],
'content-type': [Array],
cookie: [Array],
'user-agent': [Array],
'content-length': [Array],
'accept-encoding': [Array],
host: [Array]
},
[Symbol(errored)]: null,
[Symbol(kUniqueHeaders)]: null
},
response: {
status: 400,
statusText: 'Bad Request',
headers: Object [AxiosHeaders] {
vary: 'Accept-Encoding',
'set-cookie': [Array],
'reporting-endpoints': 'coop_report="https://www.facebook.com/browser_reporting/coop/?minimize=0", coep_report="https://www.facebook.com/browser_reporting/coep/?minimize=0"',
'report-to': '{"max_age":2592000,"endpoints":[{"url":"https:\/\/www.facebook.com\/browser_reporting\/coop\/?minimize=0"}],"group":"coop_report","include_subdomains":true}, {"max_age":86400,"endpoints":[{"url":"https:\/\/www.facebook.com\/browser_reporting\/coep\/?minimize=0"}],"group":"coep_report"}',
'cross-origin-embedder-policy-report-only': 'require-corp;report-to="coep_report"',
'cross-origin-opener-policy': 'same-origin-allow-popups;report-to="coop_report"',
'strict-transport-security': 'max-age=31536000; preload; includeSubDomains',
'content-type': 'text/html; charset="utf-8"',
'x-fb-debug': 'hjtbUvk68tRhSKWZQCfdf0Yczdv77ID72oLACSbKTnABlEA3TEritMPseRor8DFm6faKQZCRS+wn45aA722SjA==',
'proxy-status': 'http_request_error; e_proxy="AcJI5h3aQYLmfKjjLnWHBaytYm-cfd5FDAOSvzfF16FvILKuEzO7RtENiNbC0olYtjv9wF5-bP-cm1sR2M"; e_fb_binaryversion="AcJ2g98eJteMs-10B_mHjHfYcxujeXKEYLwhiLvqnrsX8oBxhurcXonS7exuRo3t1v44_6mHKLjtaWtr6fAS-N1Ze1sVZky2eWw"; e_fb_httpversion="AcK1TnnAEhbk6QH9B16-lMHitm_YeJTjb2EWuY12N5wc979SKPDrh15qcUMa"; e_fb_responsebytes="AcKE4xcARDmzyi82pgN5iItLfgjFK0lO1GyJWkJP2TWw7cEI7cLwGy_h2kYf8w"; e_fb_requesttime="AcKb_qc9yZLLNPX83cMIw16Py3VhMExXeCVMPoNYIdXkGVrmmJaCq7Z4WYyW401gslrJhMMVNQ"; e_fb_requesthandler="AcKlh5n2k2medjFB19d32xdjGJp2ehclahsS1vHnDwnchSx3FDuAW8-yQFzOWAd5uVQh5jw24Mk"; e_fb_hostheader="AcKtdLyD1ok7L0ck6IVBZ2xkvZxmaP97WVEVq83Fc6PaCQjq3U64P3e85xIDaJLqGGKyU7pCUCZJQQ"; e_fb_requestsequencenumber="AcLDDGyd3FmTh_NEjMIdtbSNVwdTprqlBzovdZ0DOWF2br-ikoRQRUJwvGXkKA"; e_upip="AcKzGEHXqeAdhXD0WFKujd37BlOsL4nsokFlP88L37L3OI0EqSSSkiHVlolNYumP9W4vyu7L9XCkM5II-vX-_rU3qIE6xb_rUU8sQWM"; e_fb_builduser="AcJy1UVLekCr712IVPddvBddtnTz77QCow9khmCcYCgEfIcxTDCL-r5F2XvQvkghhpg"; e_fb_vipport="AcJtc1kz9Ve1xUVSeOVvKgCeUH5gUsmVAcHJ9vyDbY_D0FGOZMH34enVLpZF"; e_clientaddr="AcLO1hY3m9Dwju8RCA7fSrvvVqD2TFPj-2IJKYvXieYpfr9iW_AJSsNT5onZM9nIBWVxKYvjTa99LIX_KbbiRR_pQEruxg-U-7fNxkBz-vvQGLyObA"; e_fb_vipaddr="AcKt460q-CvGoHp6D5JFQrw1wgD2iVNB7b6Rm97HbuNH7uXwOvKVgsNm1sivdC2L4PRsJhdljim9PNmBrpK1F8NKQAuZmkrD2Q"; e_fb_configversion="AcJPiaiiESaw3a-kMj1ONZaIkmqyq2rAeLhHaBgSP47LaBoOt7REhqCuEdQ2mg", http_request_error; e_fb_configversion="AcKJE9c7wuMO12XOWqupuWbNhsyu08kz2-VFuG0XK0VOJ3UmHtzNt6C61g2TuQ"; e_fb_vipport="AcKke8sBEwDX3ixBdVxzucRd_hcp9gNzpDcS-4_JQ30LJ8kBfahlsYHitgUD"; e_upip="AcKugOhQNqk7XwgsRQr0W9w-L7WkeFLn7wL0ee7cKtbcy7gZMvq2u0jMpaDy-tIJPwOD3fXeuDiUUegHPc5Vmvrdj5sJ43llWQ"; e_fb_requestsequencenumber="AcI9-MOXI9f9oLUshIr5pBOuNgog-33feLszlK81TIdk6RYumTErIM6C7w"; e_fb_responsebytes="AcI8dbk8gMAHWTjA-pVQIW-vcYaTB8h1CSlV8TmHIEmtbTQcZk4wz-BMRYfZng"; e_fb_hostheader="AcL_7JCFmyzGUVWsTHt8D9aoXEcTyp62rgi8Qmkj9WgToOA26HF_0Zw8fYxzwxL9QS46TlV_D12GXw"; e_fb_vipaddr="AcIphYwGNhad3sfQlQBvEZifmR__J8xkBGI1AZPMeeKQJCoX6ABqyy7k78ywaczaQ9mqGlxiOQ"; e_fb_requesthandler="AcKJvZD-X-Gs9epdjoRnf89g_QC8LMM7nUXg7d0Y1k-3SqtekXIypXKS4ajlN9DQ0QvpAoO1L81Gq_AU"; e_fb_requesttime="AcKhlq0AielSvnuGO04B6Sd5EvXjeZQSrti2-gwWfOq-rBRMDC7wR-Rtu-3s_QZcJmL34DnJSg"; e_fb_builduser="AcLSkwopS32qtIzOtGmG285PHxyBSieKuQvl5f2oVHYswJHW9M1y_iDrdJ9Wz_qEinA"; e_fb_httpversion="AcJmUSqan43s47Hm1Z0YO1CPQApkb1QgiDqLGzdn7vjFjHRu6_CSQrqEk9_p"; e_fb_binaryversion="AcLUo2RxTlE2d2cl2GaPrCItJ17DR0HSvAKjP3rKa_kF2V-hIGoZM_95xu6hH1n7hnify-1IYCtMMU1s16eefdaK77NCunxdT-E"; e_proxy="AcIcssZOtjYnJVUPSC7IiB-JPizDmUOrDtKUdDO6ISJSleM-EpNWPlGOtzo_u_TNs8aMUSdST7R0wzo"',
date: 'Sat, 29 Jun 2024 16:30:09 GMT',
'x-fb-connection-quality': 'EXCELLENT; q=0.9, rtt=1, rtx=0, c=12, mss=1392, tbw=372, tp=-1, tpl=-1, uplat=215, ullat=0',
'alt-svc': 'h3=":443"; ma=86400',
connection: 'close',
'content-length': '2460'
},
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]],
url: 'https://www.whatsapp.com/undefined',
method: 'post',
data: 'jazoest=undefined&lsd=undefined&step=submit&country_selector=INDIA&phone_number=%2B6285710754739&email=kzanecnh5w%40vjuum.com&email_confirm=kzanecnh5w%40vjuum.com&platform=ANDROID&your_message=Halo+pak%2C+Akun+Whatsapp+Saya+diblokir.+Saya+tidak+bermaksud+melanggar%2C+Tujuan+Saya+hanya+mempelajari+Aspek+Keamanan+Siber+Secara+Legal+dan+mempelajari+bagaimana+perlindungan+terhadap+aktifitas++spam+dan+penyalahgunaan+yang+diimplementasikan+di+platform+whatsapp+.+Harap+Buka+Blokir+Akun+Saya+Sesegera+Mungkin.+Terimakasih&__user=0&__a=1&__csr=&__req=8&__hs=19316.BP%3Awhatsapp_www_pkg.2.0.0.0.0&dpr=1&__ccg=UNKNOWN&__rev=1006630858&__comment_req=0'
},
request: <ref *1> ClientRequest {
_events: [Object: null prototype],
_eventsCount: 7,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: false,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
strictContentLength: false,
_contentLength: '644',
_hasBody: true,
_trailer: '',
finished: true,
_headerSent: true,
_closed: true,
socket: [TLSSocket],
_header: 'POST /undefined HTTP/1.1\r\n' +
'Accept: application/json, text/plain, /\r\n' +
'Content-Type: application/x-www-form-urlencoded;charset=utf-8\r\n' +
'cookie: wa_lang_pref=id; expires=Sat, 06-Jul-2024 16:30:07 GMT; Max-Age=604800; path=/; domain=.whatsapp.com; secure; wa_ul=144b195a-e12a-404a-ab13-9c3e9c270ad0; expires=Fri, 27-Sep-2024 16:30:07 GMT; Max-Age=7776000; path=/; domain=.www.whatsapp.com; secure; httponly; wa_csrf=4mVEFvbGVXEqjaP8DvlxsM; path=/; domain=.whatsapp.com; secure; httponly\r\n' +
'User-Agent: axios/1.7.2\r\n' +
'Content-Length: 644\r\n' +
'Accept-Encoding: gzip, compress, deflate, br\r\n' +
'Host: www.whatsapp.com\r\n' +
'Connection: close\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/undefined',
_ended: true,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: 'www.whatsapp.com',
protocol: 'https:',
_redirectable: [Writable],
[Symbol(kCapture)]: false,
[Symbol(kBytesWritten)]: 0,
[Symbol(kEndCalled)]: true,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype],
[Symbol(errored)]: null,
[Symbol(kUniqueHeaders)]: null
},
data: '\n' +
'\n' +
' \n' +
' <title>Error</title>\n' +
' \n' +
' \n' +
' \n' +
' <style>\n' +
" html, body { color: #fff; background-color: #1ebea5; font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Open Sans', 'Helvetica Neue', sans-serif; margin: 0; padding: 0; }\n" +
' div#core { display: flex; flex-direction: column; margin: auto; width: 50rem; }\n' +
' div#top { padding-bottom: 1rem; padding-top: 1.5rem; }\n' +
' div#footer { border-top: 1px solid #ddd; font-size: 1rem; padding: 0.4rem 0 0 0; }\n' +
' #icon { height: 4rem; }\n' +
' h1 { font-size: 2rem;}\n' +
' p { font-size: 1rem;}\n' +
' a { color: #fff; }\n' +
' </style>\n' +
' \n' +
' \n' +
'
\n' +
'
\n' +
'
\n' +
' <svg id="icon"\n' +
' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="
http://www.w3.org/1999/xlink" version="1.1"\n' +
' viewBox="0 0 138 39" width="138" height="39" style="enable-background:new 0 0 138 39;" xml:space="preserve">\n' +
' <style type="text/css">\n' +
' .st0 { fill: #00E676; }\n' +
' .icon_logo_white { fill: #FFFFFF; }\n' +
' </style>\n' +
' \n' +
' \n' +
' \n' +
' \n' +
' \n' +
'
Sorry, something went wrong.
\n' +
"
We're working on getting this fixed as soon as we can.
\n" +
'
\n' +
' Go Back\n' +
'
\n' +
'
\n' +
' \n' +
'
\n' +
' <script>\n' +
' document.getElementById("back").onclick = function() {\n' +
' if (history.length > 1) {\n' +
' history.back();\n' +
' return false;\n' +
' }\n' +
' };\n' +
' </script>\n' +
' \n' +
'\n'
}